COBOL Manual for TNS and TNS/R Programs

Program Compilation
HP COBOL Manual for TNS and TNS/R Programs522555-006
11-92
LESS-CODE
bits-to-set
is an integer in the range 0 through 7, which is interpreted:
Value of bits-to-set
ResultDecimal Binary
0 000 Compiler generates code to initialize all areas.
1 001 Compiler generates code to initialize all areas except the
Extended-Storage Section in:
Main programs
Other programs that are not initial programs and have
NOCANCEL directives active
Size of object file increases significantly, amount of code
generated decreases significantly, and execution time decreases
slightly.
2 010 Compiler generates code to initialize all areas except the
Extended-Storage Section in:
Programs that are not main programs and are either initial
programs or do not have NOCANCEL directives active
Size of object file decreases significantly and amount of code
generated decreases significantly.
Execution time increases under either of these conditions:
The program is an initial program and is called more than
once
The program is not an initial program and is cancelled
several times
Execution time decreases under either of these conditions:
The program is an initial program and is only called once
The program is not an initial program and is never cancelled
3 011 Same as 1 and 2 combined
4 100 Compiler generates code to initialize all areas except the
Working-Storage Section in:
Main programs
Programs that are not main programs and are either initial
programs or do not have NOCANCEL directives active
Size of object file can increase by a maximum of 65,536 bytes for
each program to which the conditions apply. Amount of code
generated and execution time can decrease.
5 101 Same as 1 and 4 combined
6 110 Same as 2 and 4 combined
7 111 Same as 1, 2, and 3 combined