This level contains the Data Elements called in the WORKING-STORAGE SECTION of the instance. It shows the location of the Data Element in the generated code, its format, and its corresponding data name.
The first column shows the Data Element name and the second column shows its label. Both are preceded by the location of the Data Element in the generated code (COBOL position and Line number).
If you expand this level, you can see the Data Element call Attributes and Description which contain the following fields:
The value you can enter here changes according to whether it is a COBOL position for a Program or a Screen.
Value | Meaning |
---|---|
AA to ZZ and 0A to 0Z | These values cause the lines entered in this
tab to be generated at the beginning of the WORKING-STORAGE
SECTION. These lines are generated:
|
00 to 09, 1A to 19... 9A to 99 | The lines entered in this tab will be generated in the WORKING-STORAGE SECTION, after all the Data Structures whose COBOL position is lower than this prefix |
Value | Meaning |
---|---|
AA to 0Z | The description is generated in the WORKING-STORAGE SECTION. |
00 to 99 | The description is generated in the LINKAGE SECTION. |
AA and 00 | These values are used for automatically generated data. |
99 | With a Line number = 999, this value is used for the PROCEDURE DIVISION statement. Therefore, you can use it to create a line with a sequencing number 99999, which replaces the PROCEDURE DIVISION line automatically generated. |
$n | This value represents a parameterized value in a Macro. |
In a Macro, you can parameterize it by assigning it a $n value
The Data Element level is nested in the Data Element call level.
The first column shows the Data Element name and the second column shows its label.
If you expand the Data Element level, you can see the Data Element name and label, which are editable here.
Its Attributes level contains the same information as the Definition tab, except the inheritance which cannot be specified in the Design View. The possible values of these Attributes are explained in the link which points to the Data Element Definition tab.