COBOL Manual for TNS/E Programs (H06.03+)
Libraries and Utility Routines
HP COBOL Manual for TNS/E Programs—520347-003
13-17
ZCOBDLL Overview
You can create a =_SORT_DEFAULTS DEFINE by using the ALTER DEFINE
statement in your command interpreter. You can use the command
22> INFO DEFINE =_SORT_DEFAULTS, DETAIL
to determine whether the DEFINE exists and what its current settings are.
You cannot use =_SORT_DEFAULTS to alter the FastSort parameters SCRATCH and
MODE, because the compiler sets these itself whenever it executes a COBOL SORT
statement. (It sets SCRATCH to the file that the SD entry specifies. It sets MODE to
AUTOMATIC.)
If you specify any FastSort options with FastSort interface routines, you can only use
=_SORT_DEFAULTS to alter the parameters CPU, NOTCPUS, and SUBSORTS;
however, if you specify CPU-MASK, NO-CPU-MASK, or SUBSORT-COUNT with a
FastSort interface, routine, it overrides the respective parameter that you specified with
=_SORT_DEFAULTS.
For more information on the =_SORT_DEFAULTS DEFINE, see the FastSort Manual.
ZCOBDLL Overview
ZCOBDLL, a DLL, is the native HP COBOL run-time library. It contains the HP COBOL
run-time routines. ZCOBDLL routines are not bound into a user object file.
The compiler consults ZCOBDLL automatically. ZCOBDLLs resides on the subvolume
$SYSTEM.SYSnn.
Table 13-6. ZCOBDLL Routines (page 1 of 2)
Utility Routine
COBOL_ASSIGN_
COBOL_COMPLETION_
COBOL_CONTROL_
COBOL_FILE_INFO_
COBOL_GETENV_
COBOL_PUTENV_
COBOL_RETURN_SORT_ERRORS_
COBOL_REWIND_SEQUENTIAL_
COBOL_SETMODE_
COBOL_SET_SORT_PARAM_TEXT_
1. Replaces COBOLSPOOLOPEN routine (for level 2 spooling) and Guardian environment routines (for level 3
spooling)
2. Guardian environment only










