
9. HOW TO VIEW REFERENCE LIST/COMPILE LIST
B–66102E/10
36
9
HOW TO VIEW REFERENCE LIST/COMPILE LIST
A source program coded using symbolic macro programs is converted by
the macro compiler to a program in custom macro format for compile
processing. The macro compiler outputs two types of list files: one for
a reference list, and the other for a compile list.
Since conversion processing is performed, the comment lines and symbol
definition lines in a source program are not listed. For this reason, a
reference list and compile list output two types of line numbers to identify
a compile error in a source program.
(1) Reference list
A source program coded using symbolic macro programs, cross
reference data of used symbols, error messages from conversion
processing, and so forth are output in a reference list.
Line number S-Line : Source program line number
Line number G-Line : Line number after conversion
(2) Compile list
A program converted to a program in custom macro format, cross
reference data of used variables, compile error messages, and so forth
are output in a compile list.
Line number G-Line : Line number after conversion
Line number P-Line : Line number for each program number
In the example below, the compile list has an error on G-Line 0002; the
same G-Line 0002 in the reference list and the line 4 in the source program
have this error.
Example)
*
Reference list (xxx.REF)
---------- Program -------------------------
S-Line G-Line
1 @ABC #100
2/
:
3 0001 O1000 ;
4 0002 ABD = 0 ;
5 0003 M99 ;
6 0004 %
*
Compile list (xxx.LST)
---------- program O1000 -------------------
G-Line P-Line
0001 1 O1000;
0002 2 ABD=0;
error #140C -----------^
***** ERROR : 140C Illegal function code.
0003 3 M99;
0004 4 %