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


Return codes

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

When the CSRSI service returns control to the caller, Returncode contains the return code. To obtain the equates for the return codes:
  • If you are coding in assembler, include mapping macro CSRSIIDF, described in z/OS MVS Data Areas in the z/OS Internet library.
  • If you are coding in C, use include file CSRSIC.

The following table describes the return codes, shown in decimal.

Return Code and Equate Symbol Meaning and Action

00
(0)
CSRSI_SUCCESS

Meaning: The CSRSI service completed successfully. All information requested was returned.

Action: Check the si00validityflags field to determine the validity of each returned area.

04
(4)
CSRSI_STSINOTAVAILABLE

Meaning: The CSRSI service completed successfully, but since the Store System Information (STSI) instruction was not available, only the SI00PCCACPID, SI00PCCACPUA, and SI00PCCACAFM fields are valid.

Action: None required.

08
(8)
CSRSI_SERVICENOTAVAILABLE

Meaning: Environmental error: The CSRSI service is not available on this system.

Action: Avoid calling the CSRSI service unless running on a system on which it is available.

12
(C)
CSRSI_BADREQUEST

Meaning: User error: The request parameter did not specify a word formed from any combination of CSRSI_Request_V1CPC_Machine, CSRSI_Request_V2CPC_LPAR, and CSRSI_Request_V3CPC_VM.

Action: Correct the parameter.

16
(10)
CSRSI_BADINFOAREALEN

Meaning: User error: The Infoarealen parameter did not match the length of the area required to return the requested information.

Action: Correct the parameter.

20
(14)
CSRSI_BADLOCK

Meaning: User error: The service was called while holding a system lock other than CPU, LOCAL/CML, or CMS.

Action: Avoid calling in this environment.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014