COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
MIGRATION-CHECK
MIGRATION-CHECK causes the compiler to issue a warning message when it encounters a
user-defined COBOL word that is a reserved word in the COBOL-2002 standard.
MIGRATION-CHECK applies only when used with the STANDARD 1985 directive.
Use the DIAGNOSEALL and NODIAGNOSEALL directives to control whether the compiler issues
a message for every occurrence of a given user-defined word or only for the first occurrence,
respectively.
No warnings issuedDefault:
In the command line or before the Identification Division of the first program unit in the
source text.
Placement:
Applies to the compilation unitScope:
Applies only when STANDARD 1985 is enabled.Dependencies:
References:
• STANDARD (page 573)
• DIAGNOSEALL and NODIAGNOSEALL
NONSTOP
NOTE: Do not use this directive in the OSS environment.
NONSTOP causes the compiler to accept the STARTBACKUP verb. The STARTBACKUP and
CHECKPOINT verbs enable you to run a program as a process pair.
The program cannot run as a process pair (even if it contains a PARAM NONSTOP ON
command).
Default:
Must appear before the Identification Division of the first program unit in the source text.Placement:
Applies to the program unitScope:
PARAM NONSTOP OFF command overrides NONSTOP.Dependencies:
PARAM CommandReferences:
When a program is compiled without this directive, a PARAM NONSTOP command is not enough
to make the program run as a process pair.
If NONSTOP is absent, the compiler reports an error if it finds a STARTBACKUP verb.
NOTE: Chapter 32: Fault-Tolerant Processes (page 944), explains how to use the HP fault-tolerant
facility. It is your responsibility to design the program to make use of the CHECKPOINT and
STARTBACKUP statements to operate in a fault-tolerant manner. The presence of the NONSTOP
directive and CHECKPOINT and STARTBACKUP statements do not guarantee fault tolerance.
OBJEXTENT
The OBJEXTENT directive specifies the size of the extents allocated for the generated object file.
558 Program Compilation










