ContentsIndexPreviousNext

$CONTROL directive

The $CONTROL directive in HP e3000 COBOL provides a method for specifying compilation and list options. The $CONTROL directive is not supported by ACUCOBOL-GT and is not included in the compiled object or listing file.

ACUCOBOL-GT uses command line arguments to perform the same functions that $CONTROL directives perform for HP e3000 COBOL. The following table correlates HP e3000 COBOL $CONTROL options to equivalent ACUCOBOL-GT options. The string "<default>" indicates that the option is enabled by default in ACUCOBOL-GT. To make it easier to specify multiple compiler options, you can use the CBLFLAGS environment variable. See section 2.1.14 in Book 1, User's Guide.

HP e3000 COBOL $CONTROL option
ACUCOBOL-GT compiler option
ANSISORT
<none>
ANSISUB
<default>
BOUNDS
-Za
CHECKSYNTAX
-Lf
CODE
<default>
NOCODE
<none>
CROSSREF
-LC
NOCROSSREF
<default>
DEBUG
-Gd
DIFF74
<none>
DIFF74=OBS
<none>
DIFF74=INC
<none>
DYNAMIC
-Zi
ERRORS=number
<none>
LINES=number
-Ll
LIST
-Lf
NOLIST
<default>
LOCKING
<none>
LOCOFF
<default>
LOCON
-Lf
MAP
-Ls
NOMAP
<default>
MIXED
<none>
NOMIXED
<default>
QUOTE = " '
<none>
SOURCE
-Lo
NOSOURCE
<default>
STAT74
use the runtime configuration variable: FILE_STATUS_CODES = 74
STDWARN
<none>
NOSTDWARN
<none>
SUBPROGRAM
<none>
SYMDEBUG
-Gy
SYNC16
-D12
SYNC32
-D14
USLINIT
use the "cblutil -lib" library utility
VERBS
-Lc
NOVERBS
<default>
WARN
-a
NOWARN
-w