COBOL Manual for TNS and TNS/R Programs

Program Compilation
HP COBOL Manual for TNS and TNS/R Programs522555-006
11-15
CALL and ENTER Statement Processing: Overview
COBOLEXT File
If you did not provide search lists, or if the compiler did not find the necessary external
references on them, it uses the COBOLEXT file to perform parameter validation, but
does not import any object code. Programs resolved from COBOLEXT are available to
the program at load time.
When you install the COBOL85 compiler, the COBOLEXT file is stored on the
subvolume $SYSTEM.SYSTEM. If you move the COBOLEXT file to another
subvolume, use the CONSULT directive to tell the compiler where to find it.
COBOLEX0 and COBOLEX1 Files
Each RVU of the COBOL85 compiler includes three files: COBOLEX0, COBOLEX1,
and COBOLEXT. These represent the most recent, next most recent, and third most
recent RVUs of the Guardian environment, respectively. If you need access to a
routine that was added (or to a parameter that was added to an existing routine) in the
most recent version of the Guardian environment, include a CONSULT directive
specifying COBOLEX0 in your compilation. The compiler then validates all calls of
Guardian system routines from COBOLEX0 instead of from COBOLEXT.
When you install the COBOL85 compiler, the COBOLEX0 and COBOLEX1 files are
stored on the subvolume $SYSTEM.SYSTEM. If you move either file to another
subvolume, use the CONSULT directive to tell the compiler where to find it.
NMCOBEXT File
If you did not provide search lists, or if the compiler did not find the necessary external
references on them, in ZCOBSRL, or in ZCRESRL, it uses the NMCOBEXT file to
perform parameter validation, but does not import any object code. Programs resolved
from NMCOBEXT are available to the program at load time.
When you install the NMCOBOL compiler, the NMCOBEXT file is stored on the
subvolume $SYSTEM.SYSTEM. If you move the NMCOBEXT file to another
subvolume, use the CONSULT directive to tell the compiler where to find it.
NMCOBEX0 and NMCOBEX1 Files
Each RVU of the NMCOBOL compiler includes three files: NMCOBEX0, NMCOBEX1,
and NMCOBEXT. These represent the most recent, next most recent, and third most
recent RVUs of the Guardian environment, respectively. If you need access to a
routine that was added (or to a parameter that was added to an existing routine) in the
most recent version of the Guardian environment, include a CONSULT directive
specifying NMCOBEX0 in your compilation. The compiler then validates all calls of
Guardian system routines from NMCOBEX0 instead of from NMCOBEXT.
Note. The preceding paragraph applies only to the NonStop system. For the locations of files
on the PC, see NonStop COBOL for TNS/R (ETK)
.