HP COBOL II/XL Quick Reference Guide (31500-90015)
1-: 5
$PREPROCESSOR
The $PREPROCESSOR command allows you to change the default characters
used in macro definitions and names.
Syntax
$PREPROCESSOR
parameter=subparameter
[,
parameter=subparameter
]
Parameters
parameter
one of the keywords shown below. Each may be used only
once in a given $PREPROCESSOR command.
KEYCHAR specifies that the initial character of all
macro names is to be
subparameter
.
PARMCHAR specifies that the initial character of all
formal parameters in macro definitions is to be
subparameter
.
DELIMITER specifies that the delimiting character in a
macro string-text is to be
subparameter
.
subparameter
the character to be used in replacing the currently used
initial character or delimiter.
$SET
The $SET command can be used to turn the ten compilation switches on or
off.
Syntax
$SET [Xn={ON } [, Xr={ON }]...]
[ {OFF} [ {OFF}] ]
where X
n
and X
r
are compilation switches. The ten software switches are
of the form, Xn, where n is an integer in the range 0 through 9.
$TITLE
The $TITLE command can be used to replace the first or second line of a
title in the listfile.
Syntax
$TITLE [ (
n
) ] [
string
[,
string
]...]
Parameters
n
specifies which line of the title is to be replaced. Thus,
n
can
be either 1 or 2, and must be preceded and followed by a space.
The default is 1.
string
has the same format, restrictions, and use as in the $PAGE
command.
$VERSION
The $VERSION command puts a version string into your object file.
Syntax
$VERSION [
string
[,
string
]...]
Parameter
string
the data to be placed into the object file. The characters