Metadata for record file management

You use metadata attributes to control how the trading engine handles the file records that are transported in messages.

You can set these attributes:

Local and virtual attributes

Metadata attributes for file records are classed as either local or virtual attributes:

Sent messages

For sending messages, file attributes are defined in a message attributes template or in the message handler:

Consumed messages

For consumed messages, virtual file attributes are provided by the protocol elements (metadata), as conveyed during the protocol exchange. Local file attributes are assumed to be the same as virtual file attributes received. However, you can use the record transformation options of the message handler to override these attributes and set file transcoding as needed. Additionally, for PeSIT and OFTP message consumption, virtual and local file attribute values can be overridden by applying a message attributes template on the PeSIT or OFTP pickup.

Transcoding

Transcoding applies only to files that have a record structure and not to OCTET_STREAM (unstructured) files. Transcoding occurs when LocalFileRecordFormat is different from VirtualFileRecordFormat or LcoalFileCharSet is different from VirtualFileCharset. File records can be transformed from FIX_ to VARIABLE_ format or vice-versa.

For outbound messages, transformation takes local file attributes as source attributes and virtual file attributes as target attributes. For inbound message, it is the other way round.

When transformed from FIX_ to VARIABLE_, trailing padding characters (as defined in LocalFilePaddingChar or VirtualFilePaddingChar) are stripped off to make the record in variable format.

When transformed from VARIABLE_ to FIX_ , padding characters (as defined in LocalFilePaddingChar or VirtualFilePaddingChar) are added to make the record in fixed format. The process assumes fixed format record length is at least as long as the maximum variable format record.

Attributes

Attribute Value

Description

LocalFileCharSet
  • ASCII
  • EBCDIC
  • Free

Name of the character set used in the local file.

LocalFilePaddingChar
  • 0x00…0x7F

Padding character used in the local file.

LocalFileRecordFormat
  • FIXED_BINARY
  • VARIABLE_BINARY
  • FIXED_TEXT
  • VARIABLE_TEXT
  • OCTET_STREAM

Format of the local file record.

To turn off transcoding, set this value to OCTET_STREAM

LocalFileRecordLength
  • Length in bytes

Size (for fixed length) or maximum size (for variable length) of the file record.

VirtualFileCharSet
  • ASCII
  • EBCDIC
  • Free
Name of the character set for the file flowing over the network
VirtualFilePaddingChar
  • 0x00…0x7F
Padding character used in the file over the network
VirtualFileRecordFormat
  • FIXED_BINARY
  • VARIABLE_BINARY
  • FIXED_TEXT
  • VARIABLE_TEXT
  • OCTET_STREAM

Format of the virtual file record.

To turn off transcoding, set this value to OCTET_STREAM

VirtualFileRecordLength
  • Length in bytes
Size (for fixed length) or maximum size (for variable length) of the file record.
message.attributes.template .in/out
  • Message Attributes Template name
Indicates the Message Attribute Template applied on reception/ on sending