COBOL Manual for TNS and TNS/R Programs
Procedure Division Verbs
HP COBOL Manual for TNS and TNS/R Programs—522555-006
9-60
ENTER
parameter
is a value to be passed to the called routine.
data-name
can be qualified, subscripted, and include a reference modifier. If data-name
is a TAL or pTAL string:length parameter, you can set its length with a
reference modifier (see Restrictions on Calling TAL or pTAL Routines).
literal
is a numeric literal whose value corresponds to a value parameter in the
routine being called.
arithmetic-expression
is an arithmetic expression whose value corresponds to a value parameter in
the routine being called.
file-name
is the file description name of a file.
OMITTED
must be specified in place of any omitted parameter surrounded by other
parameters (because parameters are recognized by their order). OMITTED is only
permitted when the called routine has the VARIABLE or the EXTENSIBLE
attribute.
return-value
is a numeric or numeric edited elementary data item where the return value is
stored when the called routine is a function. The return-value can be a 2-byte,
4-byte, or 8-byte integer or a 4-byte or 8-byte floating-point value (in TAL terms:
INT, INT(32), FIXED, REAL, or REAL(64)).
data-name
literal
arithmetic-expression
file-name
( )
VST149.vsd