Selecting communication data structures
Communication data structures are used by the COBOL Copybook Importer to import metadata to generate the type tree structure.
After the importer wizard starts, you can make selections for the following items:- Runtime options (Character set, Byte order)
- Compiler options (Quote, Trunc, Nsymbol)
- Source structures
The runtime options, Character set and Byte order, describe the runtime data. The character set code represents a standard collection of letters, numbers, and symbols. The byte order set code represents a convention a machine processor uses to position its lowest byte within a word. The processor positions the lowest byte beginning either from the leftmost or the rightmost position. The default setting for these properties is Native, which you can override. To override the default setting for character set, click Select and in the Select Value window, select a valid character set code from the Character set list. To override the default setting for byte order, select a valid byte order set code from the Byte order list.
Under Compiler options, Quote, Trunc, and Nsymbol describe the COBOL compiler options that affect how your COBOL program is processed to create data structures for import. You can define compiler options by configuring the options under the COBOL Preferences page before you run the COBOL Copybook Importer. After the importer wizard starts, you can override some of these compiler options under Compiler options. The default values for the Quote, Trunc, and Nsymbol compiler options are set in the following ways. Quote is set to DOUBLE. Trunc is set to STD. Nsymbol is set to DBCS. To override the default settings, select the values from the Quote, Trunc, and Nsymbol lists.
Under Source structures, are the structures that are found in the selected COBOL Copybook file. Select the top-level source data structures that you want to import into the type tree. If you chose to map a single COBOL copybook to a type tree, select one data structure. If you chose to map multiple COBOL copybooks to a type tree, you can select more than one data structure. After you made your selections, click Apply.
If you selected a file name for an existing type tree file, you are prompted to continue or stop the import operation in the Overwrite Warning window. If errors occur, the import operation cannot generate the type tree until you resolve the problem.
If the type tree was generated, you have the option to open the type tree in the Type Tree editor. The Properties view for the generated type tree contains the imported data format for the generated type tree. You can also click the type tree in the Extender Navigator view or the Navigator view to view the date and time that the import operation generated the type tree, under the Info property in the Properties view.