COBOL Manual for TNS/E Programs (H06.08+, J06.03+)

extent-size
specifies the number of pages to use for the primary and secondary extents of the generated
object file. extent-size is an integer in the range 2 through 1070. Use this directive to
increase the capacity of the generated object file. For more information about extents, see the
Guardian Programmer’s Guide
OBJEXTENT 32Default:
On the Guardian command linePlacement:
Applies to the compilation unitScope:
You cannot specify OBJEXTENT and the linker option -NS_extent_size on the same
command line
Dependencies:
OPTIMIZE
OPTIMIZE specifies the extent to which the compiler attempts to optimize the code it emits.
level
is 0, 1, or 2. Optimization level has only a small effect on affects compilation speed. The effect
of each level is:
EffectLevel
Code is not optimized. Provided in case other optimization levels cause errors. Supports
symbolic debugging; data is always in memory.
0
Code is optimized within statements and across statement boundaries. The resulting code is
more efficient than that produced by lower levels of optimization. Supports symbolic
debugging; data is not always in memory.
1 (default)
Code is optimized within statements and across statement boundaries, and the resulting code
is more efficient than code produced by lower levels.
2
NOTE: Code generated under OPTIMIZE 1 is more difficult to debug than code generated
under OPTIMIZE 0. Optimization under OPTIMIZE 2 obscures statement boundaries. Before
you attempt to use a symbolic debugger to debug a program, do either:
Be certain that the program was compiled with OPTIMIZE 0.
Use the output generated by the INNERLIST directive to be certain of statement boundaries.
OPTIMIZE 1Default:
Outside the boundary of a separately compiled programPlacement:
The optimization level active at the beginning of a separately compiled program
determines the level of optimization for that program and any programs it contains.
Scope:
NoneDependencies:
PERFORM-TRACE
PERFORM-TRACE gives additional information if run-time error 148, “PERFORM nesting too deep,
occurs.
Compiler Directives 559