1.3.10 Conversion dialog from COBOL Library Text
(1) COBOL Library Text settings page
This page is used to specify the COBOL Library Text file to be converted and the information required at the time of conversion.
Figure 1-58 Figure COBOL Library Text Settings page
![[Figure]](figure/zs013901.gif)
- [File name of COBOL Library Text]
- Specify the name of COBOL Library Text file which is to be converted.
- [Browse] button
- A dialog to specify COBOL Library Text file is displayed.
- [PICTURE clause currency symbol]
- Specify the currency symbol used in PICTURE clause character string. The default specified value is "\".
- The characters that you can specify in PICTURE clause currency symbol are as follows:
- "!", "#", "$", "%", "&", "<", ">", "?", "@", "F", "G", "H", "I, "J", "K", "L", "M", "O", "Q", "T", "U", "W", "Y", "[", "\", "]", "^", "_", "`", "{", "|", "}", "~" and one-byte Katakana (0xA1~0xDF from MS932 code).
- [Basic item character code]
- Select the character code used in basic items. The default selected value is "MS932". The character code selected here is set as the character code for binary format definition file.
- The character codes that you can select in basic items are as follows:
- MS932
- UTF8
- UTF16_BIG
- UTF16_LITTLE
- JIS
- KEIS+EBCDIC
- KEIS+EBCDIK
- KEIS
- IBM_CODE+EBCDIC(LATIN)
- IBM_CODE+EBCDIC(KANA)
- IBM_CODE
- JEF+EBCDIC
- JEF+EBCDIK
- JEF
- CUSTOM
- [Binary type Endian]
- Select Big Endian or Little Endian as binary type Endian. The default selected value is "Little Endian".
(2) Data item settings page
The result of converting a COBOL Library Text file is displayed on this page. All items are displayed in a tree view of multiple columns.
Figure 1-59 Figure Data items settings page
![[Figure]](figure/zs013902.gif)
- [Defined items]
- [Level number]
- Displays the level number of items that were specified in COBOL Library Text file. If you do not want to display the subordinate items in group item, click the button on the left side of [Level number].
- [Data name]
- Displays the data name of items that were specified in COBOL Library Text file.
- [Optional name]
- Displays the name used as element name for binary format definition file. You can change the name by clicking on the cell. If you do not specify [Optional name], the name displayed in [Data name] will become element name for binary format definition file.
- The character string that you can input in [Optional name] must satisfy the following conditions. If the following conditions are not satisfied, [Optional name] is not set.
- Character that can be used in NCName
If a character that cannot be used in NCName is used, such a character is replaced by "_".
- Should not duplicate with the data name or optional name of sibling data item having the same parent
- Note that in case of FILLER, for each sibling data item having same parent, the optional name is set such that the First two Characters will be "_." and the remaining 5 characters will be numbers in ascending order as in "_.00001", "_.00002".
- If the name displayed in [Data name] duplicates with the data name or optional name of sibling data item having the same parent, the name having a number added in the end of [Data name] is set as optional name.
- [Data type]
- Displays the attributes of the binary format definition file after conversion. For details about attributes for corresponding COBOL Library Text file, see "4.5.2 Support to data type of COBOL Library Text File and binary format definition file" in "Service Platform Basic Development Guide".
- [Occurrence count]
- Displays the specified value when a value larger than 2 is specified in the OCCURS clause of COBOL Library Text file.
(3) Output file settings page
Use this page to output the binary format definition file.
Figure 1-60 Figure Output file settings page
![[Figure]](figure/zs013903.gif)
- [Enter or select parent folder]
- Displays the parent folder name that you entered or selected.
- [File name]
- You can specify the binary format definition file name here. The default specified value is "(Format name) +".fdx"". You can enter characters that can be used in NCName.
- [Format name]
- You can specify the format name of the binary format definition file here. The default value will be a character string without the extension from [File name]. You can enter characters that can be used in NCName. On entering characters in [Format name] its associated [File name] is also set as [Characters entered in format name + ".fdx"].