Comment
To display the contents of this section, you must
select a comment call in the left area of the tab. In this section, you enter
a comment and indicate where it will be inserted in the generated program.
- COBOL position
- This field enables you to indicate the placement and the sequence in which
the lines entered in this tab will be generated. These characters form the
first two characters of a sequencing number, with the value in the line number
as the last three digits.
Value |
Meaning |
For a batch program |
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.
Relatively to the Data Structures called in the -CD Lines tab,
these lines will be generated as follows: - Before the description of Data Structures whose organization is W:
file description in Working and whose code in program matches
this prefix or is greater than it,
- Before the description of Data Structures whose organization is L:
Working with placement, and whose COBOL position matches
this prefix or is greater than it.
|
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 |
For a transactional
program |
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 by the system for data generated
automatically. |
99 |
With a Line number = 999,
this value is used by the system for the PROCEDURE DIVISION statement.
Therefore, you may use it to create a line with a sequencing number 99999,
which will replace the PROCEDURE DIVISION line which is automatically
generated. |
$n |
This represents a parameterized value in a Macro-Structure |
- Line number
- This line number, constituted of three digits, will be concatenated with
the two characters of the COBOL position. The line
number can be:
- 0 to 999: As a recommendation,
you should number the lines, starting with 10, by intervals of 10, to facilitate
any future insertion
- $n0 to $n9: In a Macro-Structure,
only the first two characters of the Line number can be parameterized.
- Occurs
- You must indicate a number in this field when the data-name (entered in
the Comment field if you are viewing a comment call,
or in the Text before field if you are viewing a Data
Element call) is occursed. You enter here the maximum number of occurrences
for the table. This is a pure numeric field, on 5 characters maximum.
An
entry in this field causes the generation of the following three indices (
ddss =
Segment code):
- IddssM initialized to the value entered.
- IddssL initialized to zero. This index may be used to
load the table. It keeps track of the actual table size
- IddssR initialized to zero. This index may be used for
table searches.
In a Macro, it can be parameterized by assigning it a $n value
|
This information center is powered by Eclipse technology. (http://www.eclipse.org)