List of Multi Format Information fields
Register the multi format information when there are different record formats in the file to send.
You can register up to 20 keys, the format IDs, and the default format ID in the information. For the registration method, refer to Using the Multi Format Information.
(1) Field List
Field Name |
Default Value |
Setting Value |
Optional |
Remarks |
|
---|---|---|---|---|---|
Screen |
File |
||||
Multi Format ID |
MFMT |
|
Alphanumeric characters |
- |
Within 50 bytes |
Comment |
COMMENT |
|
Characters |
✓ |
Within 60 bytes (*1) |
Default Format ID |
DFMTID |
|
Alphanumeric characters |
✓ |
Within 50 bytes |
Key Start Position |
KEYSTART |
|
1–19997 |
- |
|
Key length |
KEYLEN |
|
1–20 |
- |
|
Key Value |
MFORMAT DEF to DEFEND |
|
Alphanumeric characters |
- |
Key length |
Format ID |
|
Alphanumeric characters |
- |
Within 50 bytes |
✓ |
: |
Optional |
- |
: |
Mandatory |
*1 |
: |
On the HULFT Manager Management Console, you can enter a string of up to 60 characters. When the destination host is HULFT Ver.8.1 or higher, the size of the string that you entered will be checked based on the code set that is set in HULFT at the connection destination. When HULFT checks and confirms that the size of the string meets the condition that is given in the remarks, the characters that you entered will be saved in HULFT. |
(2) 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 to identify the registered multi format
Multi Format ID is linked to the multi format ID of the Send Management Information.
- Comment (COMMENT)
-
Comment for the formats
- 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 is specified beforehand, HULFT applies the format specified for this field where the key in the data does not match the key in the Multi Format Information.
If you do not specify this tag, inconsistency with the key is treated as a conversion error.
- 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
- Key Value (MFORMAT DEF to DEFEND)
-
Key to be set per record
Specify alphanumeric characters of the same length as that of the key length.
Specify one of the following for Field Type in the area where you set the key value.
- X:
-
Character
- M:
-
Variable-length Characters (This option is displayed when HULFT Manager connects to HULFT Ver.8.1 or higher)
- M:
-
Mixing of Kanji and Characters (This option is displayed when HULFT Manager connects to HULFT lower than Ver.8.1)
- 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 as many format IDs as the number of key values.
HULFT identifies the format ID based on the key value and applies the format to the data.
(3) Points to be noted when configuring settings
When the key value is not correctly applied
The correct key value might 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.
Starting position of the format
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.