COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
Table 79 Code-Generation Control Directives (continued)
ActionDefaultDirective(s)
Controls whether code is generated to
initialize data for a program that does
not have the INITIAL attribute
CANCELCANCEL and NOCANCEL
Controls the level of run-time checking
included in the loadfile
CHECK
Controls whether instrumented object
code is generated for use with the Code
Coverage Tool
No code coverage instrumentation in
generated object code
CODECOV
Ignored (warning issued)COMPACTCOMPACT and NOCOMPACT
1
Generates object code (compare to
SYNTAX)
COMPILECOMPILE
Ignored (warning issued)FLOATFLOAT and NOFLOAT
1
Directs compiler to generate
preemptable object code
Generate non-preemptable object codeGLOBALIZED
Selects the debugger to be used if the
program is initiated with RUND or if the
DEBUG command is issued against it
INSPECTINSPECT and NOINSPECT
Ignored (warning issued)LARGEDATA
1
Ignored (warning issued)LESS-CODE
1
IgnoredCALL-SHAREDNON-SHARED
1
Determines the size of the extents
allocated for the generated object file
OBJEXTENT 32OBJEXTENT (Guardian only)
Specifies the level of object code
optimization the compiler must provide
OPTIMIZE
Causes BINARY/COMPUTATIONAL
items to be byte-aligned and allows the
NOPORTPORT and NOPORT
CALL statement to behave as it does in
X/Open and XPG4
Causes the ECOBOL compiler to
produce a loadfile
RUNNABLE
Specifies that if the program terminates
abnormally, its state is saved for future
examination with the selected debugger
NOSAVEABENDSAVEABEND and NOSAVEABEND
Generates shared code (PIC) for a DLL
(see also CALL-SHARED)
CALL-SHAREDSHARED
Controls whether a symbol table is
included in the target file
NOSYMBOLSSYMBOLS and NOSYMBOLS
Suppresses generation of object codeCOMPILESYNTAX
Ignored (warning issued)TRAP2TRAP2 and NOTRAP2
1
Ignored (warning issued)TRAP2-74TRAP2-74 and NOTRAP2-74
1
Specifies that the resulting object code
will be in a user library
UL
Compiler Directives 537










