Default Message Definition Length Properties

Set up the initial length properties of new fields you add to a message definition.

You can set default length properties for a single message definition in the New Message Definition wizard when you create a new message definition or globally for your entire workspace by setting message defaults preferences.

Length properties

FieldDescription

Termination Type

Select an option to specify how the end of the field is identified:

Delimiter

The end of the field is marked by a character string or binary sequence, for example, a semicolon ;

Fixed Length

For all message instances, the field length is defined by a consistent integer value.

Minimum Length & White Space

A minimum number of characters are read from the field, continuing until whitespace data is read, which may include spaces, carriage returns, line feeds, horizontal tabs, or vertical tabs.

Minimum Length & Delimiter

A minimum number of characters are read from the field, continuing until a delimiter is reached.

White Space

The end of the field is marked by whitespace data, which can include spaces, carriage returns, line feeds, horizontal tabs, or vertical tabs.

Length Data Type

Select the default datatype for field length data. For complete definitions, refer to the list of supported datatypes and note the Length Type column.

Delimiter Defaults

Type

Choose String or Binary:

String

Select String if you are entering the delimiter value as a regular string, for example, $$.

Binary

Select Binary if you are entering the delimiter value in hex code, for example, 2626.

Enter Delimiter Value:

Enter the delimiter data that identifies the end of the field or container, for example, ;; (string data) or 3b3b (binary data).

No Default

When creating the message definition, length delimiters default to null.

Setting Message Definition Preferences

Developing a Message Definition

Default Message Definition Container Properties the topic called “Default Message Definition Message Properties”

Default Message Definition Message Properties

Default Message Definition Field Properties

Default Message Definition Date and Time Properties

Default Message Definition Numeric Properties

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com