Multi Format Information

Register the multi format information when there are different record formats in the file to send.

You can register up to a maximum of 20 keys, the format ID, and the default format ID in the information. There are two ways to register the information.

Field List

In the table below, the check marks in the Optional column indicate the fields considered optional during registration from the HULFT Management Console. Optional fields and mandatory fields for registration by running commands with parameter files may differ from those for registration using the HULFT Management Console.

For details on optional fields and mandatory fields for registration by running commands with parameter files, refer to Management Information Batch Registration command.

Table 2.13 List of Multi Format Information Fields

Field Value

Default Value

Setting Value

Optional

Remarks

Screen

File

Multi Format ID

MFMT

 

Alphanumeric characters and "_"

-

Within 50 bytes

Key Start Position

KEYSTART

 

1–19997

-

 

Key Length

KEYLEN

 

1–20

-

 

Default Format ID

DFMTID

 

Alphanumeric characters and "_"

Within 50 bytes

Comment

COMMENT

 

Characters

Within 60 bytes

Key Value

MFORMAT DEF to
DEFEND

 

Alphanumeric characters

-

Key Length

Format ID

 

Alphanumeric characters and "_"

-

Within 50 bytes

:

Optional

-

:

Mandatory

Explanation of each field

This section explains the fields to be specified in the Multi Format Information. The parenthesized strings are the names of each field and you can use them as field tags in a parameter file when registering the information.

Multi Format ID (MFMT)

ID that identifies the registered formats

Multi Format ID is linked with the multi format ID of the Send Management Information.

Key Start Position (KEYSTART)

Key start position to be set per record

The sum of the values set for Key Start Position (KEYSTART) and Key Length (KEYLEN) cannot exceed '19998.'

When you set a value that is greater than the length of a record of the Format Information for Key Start Position, the key value is not correctly applied.

Key Length (KEYLEN)

Length of the key to be set per record

Default Format ID (DFMTID)

Specify the default format ID when the registered key is inconsistent with the key in the data.

If Default Format ID (DFMTID) is specified beforehand, HULFT applies the format specified for Default Format ID where the key in the data does not match the key registered in the Multi Format Information.

If you do not specify this tag, inconsistency with the key is treated as a conversion error.

Comment (COMMENT)

Comment for the formats

Key Value (MFORMAT DEF to DEFEND)

Key to be set in each record

Specify alphanumeric characters of the same length as that of the key length

Specify one of the following for the field type in the area where you set the key value:

X:

Character

M:

Variable-length Characters

Format ID

Format ID used when the keys match

Specify the format ID that is registered in the Format Information.

It is necessary to register the same number of format IDs as the setting of the key value.

HULFT identifies the format ID based on the key value and applies the format to the data.

Points to be noted when setting

If the Key Value is not correctly applied

The correct key value may not be applied when you place 'P' (Signed Internal Decimal) or 'S' (Signed External Decimal) for Field Type in the Format Information before the key start position. This is because such a setting causes a misalignment with the key start position.

Format starting position

When you apply the Format Information that matches the key value, HULFT starts applying the information from the first byte in the record, regardless of the key start position.