COBOL Manual for TNS/E Programs (H06.03+)

Calling Other Programs and Routines
HP COBOL Manual for TNS/E Programs520347-003
23-9
Operating System Routines
Parameters
Guardian operating system routines are documented in the Guardian Procedure Calls
Reference Manual. When calling system routines from an HP COBOL program, use
Table 23-1 to determine the appropriate form for the COBOL parameters.
You must verify that the actual parameters in the ENTER statement (including
return-value in the GIVING phrase) are of the HP COBOL types that correspond
to the TAL types of the formal parameters in the operating system routine. The
compiler performs the necessary conversions of sending parameters. Parameters
passed by reference must match exactly. The HP COBOL data type INDEX does not
correspond to a pTAL data type.