NUMBER
Use the NUMBER
compiler option if you
have line numbers in your source code and want those numbers to be
used in error messages and SOURCE
, MAP
, LIST
,
and XREF
listings.
Default is: NONUMBER
Abbreviations
are: NUM
| NONUM
If you request NUMBER
,
the compiler checks columns 1 through 6 to make sure that they contain
only numbers and that the numbers are in numeric collating sequence.
(In contrast, SEQUENCE
checks the characters in these
columns according to EBCDIC collating sequence.) When a line number
is found to be out of sequence, the compiler assigns to it a line
number with a value one higher than the line number of the preceding
statement. The compiler flags the new value with two asterisks and
includes in the listing a message indicating an out-of-sequence error.
Sequence-checking continues with the next statement, based on the
newly assigned value of the previous line.
If you use COPY
statements
and NUMBER
is in effect, be sure that your source
program line numbers and the copybook line numbers are coordinated.
If you are doing a batch compilation and NUMBER
is in effect,
all programs in the batch compile will be treated as a single input
file. The sequence numbers of the entire input file must be in ascending
order.
Use NONUMBER
if you
do not have line numbers in your source code, or if you want the compiler
to ignore the line numbers you do have in your source code. With NONUMBER
in
effect, the compiler generates line numbers for your source statements
and uses those numbers as references in listings.