


The ACUCOBOL-GT compiler includes a preprocessor that is written specifically for providing compatibility with HP e3000 COBOL programs. This preprocessor handles conditional compilation with $IF, $SET, $COMMENT, $PREPROCESSOR, and $INCLUDE directives, and macro calls with parameters.
When you specify the "-Cp" option, ACUCOBOL-GT, automatically invokes the preprocessor for HP e3000 COBOL.
The compiler determines the source format automatically by examining the first character of the first non-blank line. If that character is blank or a digit, the file is assumed to be an ANSI file, otherwise it is assumed to be in terminal format. You can also specify the format of the source with the "-Sa" or "-St" compile options. See Book 1, section 2.1.5, "Source Options."
The ACUCOBOL-GT preprocessor for the HP e3000 COBOL currently supports the following directives. They are discussed in more detail below.
$COMMENT
$DEFINE
$IF
$INCLUDE
$PREPROCESSOR
$SET
More: