COBOL Manual for TNS and TNS/R Programs

Migrating TNS Programs to Native Programs
HP COBOL Manual for TNS and TNS/R Programs522555-006
33-15
Possible Changes Required
References to TNS libraries can appear in these contexts:
CONSULT directive
LIBRARY directive
SEARCH directive
File-mnemonic clause of the SPECIAL-NAMES paragraph
OF or IN clause of the CALL or ENTER statement
Possible Changes Required
The COBOL85, NMCOBOL, and ECOBOL compilers handle these items differently:
Checkpointing
Directives
ENTER Statement
Floating-Point Arithmetic
Make any necessary changes to these items before compiling your HP COBOL source
program with the NMCOBOL or ECOBOL compiler.
Checkpointing
The COBOL85 compiler automatically checkpoints data items that are stored directly
on the stack in two or fewer bytes (that is, if they are level 01 or 77, in the Working-
Storage Section, and fewer than three characters long).
The D44 product version of the NMCOBOL compiler does not checkpoint data items
under any circumstances. If the D44 NMCOBOL compiler finds a CHECKPOINT
statement, it ignores it and issues a warning.
Beginning with the D46 and G06 product versions, software product revision
T8107AAT (run-time library T8108AAR), the NMCOBOL compiler checkpoints only
those data items that one or more CHECKPOINT statements specify explicitly.
For more information on the CHECKPOINT statement, see CHECKPOINT
.
Directives
BLANK and NOBLANK
For the COBOL85 compiler, BLANK is the default. For the NMCOBOL and
ECOBOL compilers, NOBLANK is the default.
For a complete description of these directives, see BLANK and NOBLANK.