z/OS MVS Programming: Callable Services for High-Level Languages
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


CSRL16J — Transfer control to another routine

z/OS MVS Programming: Callable Services for High-Level Languages
SA23-1377-02

The CSRL16J service allows you to transfer control to another routine running under the same request block (RB) as the calling program. The CSRL16J service will transfer control with the contents of all 16 registers intact. When you transfer control to the other routine, use the CSRL16J service to:
  • Define the entry characteristics and register contents for the target routine.
  • Optionally free dynamic storage associated with the calling program.

When the service is successful, control transfers to the target routine. After the target routine runs, it can transfer control to any program running under the same request block (RB), including the calling program.

The CSRL16J service returns control to the calling program only when it cannot transfer control successfully to the target because of an error.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014