Rational Developer for System z, Version 7.5

-W Line Comment Definition

To display the content of the Comment Line Definition section, you must select a comment call in the left area of the tab. In the Comment line Definition, you must indicate where this comment 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
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 -W 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' or 'D: DL/1,IDS I and II', 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
$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.
Comment
This is the actual comment which will be inserted in the generated code.
Occurs
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: IddssM, IddssL and IddssR (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.
The Data Structure and Segment codes are entered, prefixed with some work area prefix code in the following format: 'w-ddss' or 'w-ddss-eeeeee'.

In a Macro-Structure, it can be parameterized by assigning it a $n value

Related tasks
Describing the internal resources of a Program/Macro
Related reference
Data Element Call Definition
Data Structure call Definition
Segment Call Definition

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)