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

If the CSRL16J service returns control to the caller, an error has occurred and the service was unable to transfer control to the target routine. In this case, the return code is always nonzero. When the service successfully transfers control to the target routine, the return code is zero.

Return codes from the CSRL16J service are as follows:

Table 1. CSRL16J Return Codes
Return Code (hexadecimal) Meaning and Action
00 Meaning: Successful completion. The calling program will never see this return code because it indicates that the target routine received control.

Action: None.

04 Meaning: The value specified in the L16JVERSION field of the L16J data area was not a zero. The L16JVERSION field must contain a value of zero.

Action: When you build the L16J data area, first zero the entire L16J data area and then fill in the required fields. This process ensures that all fields that must contain zeroes are correct.

08 Meaning: The calling program was not in 31-bit addressing mode, which is required.

Action: Make sure the calling program is in 31-bit addressing mode.

0C Meaning: One of the fields in the L16J data area that is reserved for IBM® use contained a nonzero value. Any field reserved for IBM use must contain a value of zero.

Action: When you build the L16J data area, first zero the entire L16J data area and then fill in the required fields. This process ensures that all fields that must contain zeroes are correct

10 Meaning: The value specified in field L16JLENGTH in the L16J data area was less than the actual length of the L16J.

Action: Make sure that the value in the L16JLENGTH field reflects the actual length of the L16J data area.

18 Meaning: The PSW provided in field L16JPSW of the L16J data area specified an incorrect ASC mode.

Action: In the L16JPSW field, specify either primary or AR ASC mode.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014