Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Call invocation return code variables z/OS ISPF Services Guide SC19-3626-00 |
|
For call invocation, the return code is returned in register 15 or, in FORTRAN and Pascal programs, in registers 15 and 0. In APL2®, the return code is placed on the execution stack by the ISPEXEC function. FORTRAN and PascalFORTRAN and Pascal programs
can examine the return code by using an integer variable, such as lastrc in
this example:
PL/I PL/I programs can examine
the return code by using the PLIRETV built-in function. These declaration
statements are required:
or alternatively:
COBOLCOBOL programs can examine the return code by using the built-in RETURN-CODE variable. |
Copyright IBM Corporation 1990, 2014
|