COBOL Manual for TNS/E Programs (H06.03+)
Program Compilation
HP COBOL Manual for TNS/E Programs—520347-003
11-34
Categories of Compiler Directives
CANCEL and NOCANCEL CANCEL Controls whether code is
generated to initialize data for a
program that does not have the
INITIAL attribute
CHECK
Controls the level of run-time
checking included in the loadfile
COMPACT and NOCOMPACT
1
COMPACT Ignored (warning issued)
COMPILE
COMPILE Generates object code (compare
to SYNTAX)
FLOAT and NOFLOAT
1
FLOAT Ignored (warning issued)
INSPECT and NOINSPECT
INSPECT Selects the debugger to be used
if the program is initiated with
RUND or if the DEBUG
command is issued against it
LARGEDATA
1
Ignored (warning issued)
LESS-CODE
1
Ignored (warning issued)
NON-SHARED
1
CALL-SHARED Ignored
OPTIMIZE
Specifies the level of object code
optimization the compiler must
provide
PORT and NOPORT
NOPORT Causes
BINARY/COMPUTATIONAL
items to be byte-aligned and
allows the CALL statement to
behave as it does in X/Open and
XPG4
RUNNABLE
Causes the ECOBOL compiler to
produce a loadfile
SAVEABEND and
NOSAVEABEND
NOSAVEABEND Specifies that if the program
terminates abnormally, its state is
saved for future examination with
the selected debugger
SHARED
CALL-SHARED Generates shared code (PIC) for
a DLL (see also CALL-SHARED)
SYMBOLS and NOSYMBOLS
NOSYMBOLS Controls whether a symbol table
is included in the target file
SYNTAX
COMPILE Suppresses generation of object
code
TRAP2 and NOTRAP2
1
TRAP2 Ignored (warning issued)
Table 11-10. Code-Generation Control Directives (page 2 of 3)
Directive(s) Default Action










