In this tab, you must complement the information that you entered when you created the Copybook. With this additional information, you specify the content of the generated description.
The value of this field was selected when the Copybook was created. It cannot be modified.
Values | Meaning |
---|---|
DC1 : DATA option C1 | Generation of a Data Structure description. |
DC3 : DATA option C3 | Generation of a Data Structure description. Generation of the Segment COBOL source code with the names and labels of the Data Elements and Segments as comments. |
The value of this field was selected when the Copybook was created. It cannot be modified.
By default, all the Segments of this Data Structure will be part of the generated description. However, in the Selection tab of the Copybook editor, you can select the appropriate Segments only.
By default, the generated COBOL files are stored with the design files in a root folder whose default name you can change. You can separate them from the design files or even change the generation project and folder.
In a Library, the default values of the COBOL project and of the COBOL folder are the values of the current project.
The project of the corresponding design file is the default project. If it has been kept, Default is displayed between parentheses next to the project. However, if it has been explicitly changed in the instance, only the project is displayed here, without any other indication. If it has been explicitly changed in the generation Library, Inherited from Library is then displayed between parentheses next to the project. In the instance, you can overwrite the value that is inherited from the Library.
You can select a new project in the drop-down list.
If you change the project, the COBOL file and map file (for Screens) are automatically set to the default value (rpp). The new project will be taken into account upon the next generation.
The folder of the corresponding design file is the default folder. If it has been kept, Default is displayed between parentheses next to the folder. However, if it has been explicitly changed in the instance, only the folder is displayed here, without any other indication. If it has been explicitly changed in the generation Library, Inherited from Library is then displayed between parentheses next to the folder. In the instance, you can overwrite the value indicated in the Library.
If the default folder has been kept, you can specify a root path for the generated files in the Properties wizard (accessed by clicking the Change project properties button). This path will be automatically inserted in this field, at the beginning of the folder.
You can select a new folder in the drop-down list. Creating a folder is impossible at this stage. Folders must have already been created in the project, for example from the Resource perspective.
If you change the folder, it will be taken into account upon the next generation.
Its default value is the instance name but you can modify this value.
Values | Meaning |
---|---|
W : WORKING-STORAGE SECTION or LINKAGE SECTION | The description will be generated in the WORKING-STORAGE
SECTION or the LINKAGE SECTION of the calling
program. The various structures of a record are explicitly redefined. |
F : FILE SECTION | The description will be generated in the FILE
SECTION of the calling program. The various structures of a record will not contain a REDEFINES clause because it is implicit. |
V : Variable file generation | The description will be generated as a variable file. |
By default, it is the variant of the Library that contains the generation parameters.
Values | Meaning |
---|---|
E : Input | The description uses the Data Element input formats. |
I : Internal | The description uses the Data Element internal formats, with their associated usages. |
S : Output | The description uses the Data Element output formats. |
Values | Meaning |
---|---|
Redefined records | Implicit or explicit redefinition of records. |
1: Records without initial values | Continuous sequence of records (common part
Segment followed by the different specific part Segments) without
initial values or repetitions of records. If the Data Structure description is included in the FILE SECTION, the Record level must be 2. |
2: Records with initial values | Continuous sequence of records. It includes
the initial values that are entered on the Segment -CE
Lines. If none was entered, it sets the initial values
to blank or zero, according to the format. This option is reserved for descriptions in the WORKING-STORAGE SECTION. |
3 : Records with occurs (used with level 2) | Continuous sequence of records that takes into
account the Table size from the Segment Definition. If the Data Structure description is included in the FILE SECTION, the Record level must be 2. This type of description is used only for a Data Structure whose common part Segment is assigned a Table size. |
4 : Records with occurs (used with level 3) | Continuous sequence of records that takes into
account the Table size from the Segment Definition.
The associated Record level must be 3. The COBOL level 02 provides an access to the table that consists of the repetition of a record. The COBOL level 01 consolidates all the Data Structure information (common part and specific parts that are repeated or not). This type of description is used only for a Data Structure whose common part Segment is assigned a Table size. |
Values | Meaning |
---|---|
1: COBOL 01 level for DS area and Segments | Level 01 for Data Structures
and Segments. If the Data Structure description is included in the FILE SECTION, the Segments must be redefined. If the Data Structure has no common part and has a Description type other than Redefined records, the file level is not displayed. |
2: COBOL 01 level for DS area and Segments at 02 level | Level 01 for Data Structures
and 02 for Segments. Level 01 is not displayed if the Description type is Redefined records. |
3: COBOL level varying with record description type | Level 02 for Data Structures
and 03 for Segments if the Description
type is 1, 2,
or 3. Level 01 for Data Structures and 03 for Segments if the Description type is 4. Level 03 for Data Structures and Segments if the Description type is Redefined records. |
4: COBOL 02 level for Data Elements, DS area and Segment levels disappear | Level 02 for group Data Elements
or elementary Data Elements that are not part of a group. The elementary
Data Elements that are part of a group are displayed but the Data
Structure and Segment levels are not included. The level 01 must be defined in the work areas. |
5: COBOL 01 level for Data Elements, DS area and Segment levels disappear | Level 01 for group Data Elements or elementary Data Elements that are not part of a group. The elementary Data Elements that are part of a group are displayed but the Data Structure and Segment levels are not included. |