COBOL Manual for TNS and TNS/R Programs
Libraries and Utility Routines
HP COBOL Manual for TNS and TNS/R Programs—522555-006
13-41
COBOL85^COMPLETION and
COBOL_COMPLETION_
The CRE equivalent of COBOL85^COMPLETION is COBOL_COMPLETION_. Unlike
COBOL85^COMPLETION, COBOL_COMPLETION_ does not accept the parameter
text-length.
library-reference
is a mnemonic-name in the SPECIAL-NAMES paragraph. For the COBOL85
compiler, this mnemonic-name is associated with either
$SYSTEM.SYSTEM.CBL85UTL or some other object file containing an object
copy of COBOL85^COMPLETION. For the NMCOBOL compiler, this mnemonic-
name is associated with either $SYSTEM.SYSnn.ZCOBSRL or some other object
file containing an object copy of COBOL_COMPLETION_.
abend-or-stop
is a numeric operand that specifies either the STOP or ABEND routine. abend-
or-stop is evaluated and truncated to produce an integer result with a value in
the range of -32,768 through 32,767. The value 0 specifies the STOP routine; all
other values specify the ABEND routine. The default is 0.
completion-code
is a numeric operand, the evaluation of which includes truncation as necessary to
an integer result with a value in the range of -32,768 through 32,767. If this
parameter is present, the value is passed to STOP or ABEND as the
completion-code parameter for that routine.
USING
library-reference
abend-or-stop
ENTER COBOL_COMPLETION_
" "
TAL
OF
completion-code
termination-info
subsys-id
text
ns ns
VST343.vsd