COBOL Manual for TNS and TNS/R Programs

Creating and Compiling HP COBOL Source
Programs
HP COBOL Manual for TNS and TNS/R Programs522555-006
22-42
Source Program Listing
The NMCOBOL compilation banner consists of this information:
Page number of compiler listing, date and time at which compilation began (line 1)
Version of the compiler (line 4)
Copyright information (line 5)
Directives included on compiler command line, if any (line 7)
Source Program Listing
The compiler lists your entire source program, unless you specify otherwise. The
format of the listing depends in part on the current reference format, ANSI or Tandem.
Figure 22-4 compares the two listing formats.
The two formats are aligned such that, even if your program mixes ANSI and Tandem
formats, the COPY and comment indicators and areas A and B are aligned.
Example 22-14. NMCOBOL Compilation Banner
Page 1 1997 May 6, 16:07:20
COBOL - T8107D99 - (30 APR 97)
Copyright Tandem Computers Incorporated 1986-1997
Directives: RUNNABLE
Figure 22-4. Source Program Listing Formats
ANSI Format
Line
Number
Identification
Field (cols 72
through 80 of
input line)
Sequence
Number
Text summoned by
COPY
marked here with "<".
Line Number Area A
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 ...
Tandem Format
Text summoned by
COPY
marked here with "<".
Indicator
Field
Area A Area B
Indicator
Field
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 ...
Area B
VST701.vsd