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


Freeing dynamic storage associated with the caller

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

If the calling program has a dynamic storage area associated with it, you can specify that some or all of this storage area be freed before CSRL16J transfers control to the target. In the L16J parameter list, specify:
  • The subpool of the area that you want the system to free. L16JSUBPOOL field in mapping macro CSRYL16J.
  • The length, in bytes, of the dynamic storage area you want the system to free. L16JLENGTHTOFREE field in mapping macro CSRYL16J.
  • The address of the dynamic storage area you want the system to free. L16JAREATOFREE field in mapping macro CSRYL16J.

    Make sure that the address is on a double-word boundary. Otherwise the service ends with an abend code X'978'. See z/OS MVS System Codes for information on abend code X'978'.

The system frees the storage only when the CSRL16J service is successful.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014