HP COBOL II/XL Quick Reference Guide (31500-90015)

1- 4
sentence, with one exception. This exception is the use of
formal parameters in the
string-text
.
$EDIT
The $EDIT preprocessor command can be used to bypass all records of the
masterfile whose sequence fields contain a certain value, and renumber
the numeric sequence fields of records in the newfile created by merging
a textfile and a masterfile.
Syntax
$EDIT [
parameter=subparameter
] [,
parameter=subparameter
] [...]
Parameters
parameter
either VOID, SEQNUM, NOSEQ, or INC.
subparameter
either a sequence value, a sequence number, or an
increment number. Which one is used depends on the
parameter.
$IF
The $IF command interrogates any of the ten compilation switches.
Syntax
$IF [Xn= {ON }]
[ {OFF}]
where X
n
is a compilation switch as described under the $SET command in
the preceding paragraphs.
$INCLUDE
The $INCLUDE command allows you to specify an entire file to be sent,
line by line, to the compiler as part of your source file.
Syntax
$INCLUDE
filename
Parameter
filename
the name of the file whose records are to be sent to the
compiler.
$PAGE
The $PAGE command allows you to replace the first line of the title
portion of the standard page heading in a listfile and to advance to the
next logical page of the listfile.
Syntax
$PAGE [
string
[,
string
]...]
Parameter
string
the data to be used in replacing the first line of the
title. The characters of
string
must be preceded and
followed by a quotation mark. The total number of
characters used in the strings is limited to 97. This
includes any blanks appearing in strings, but does not
include the quotation marks used to delimit the strings.