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


Return codes and reason codes

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

When CSRSAVE returns control to your program, return_code contains a return code and reason_code contains a reason code. Return codes and reason codes are shown in hexadecimal followed by the decimal equivalent enclosed in parentheses. Table 1 identifies return code and reason code combinations, tells what each means, and recommends an action that you should take.

A return code of X'4' with a reason code of X'0807' or a return code of X'C' with any reason code means that data-in-virtual encountered a problem or an unexpected condition. Data-in-virtual reason codes are two bytes long and right justified. To resolve a data-in-virtual problem, request help from your system programmer. For information about data-in-virtual, see the z/OS MVS Programming: Assembler Services Guide.

Table 1. CSRSAVE Return and Reason Codes
Return Code Reason Code Meaning and Action
00000000 (0) 00000000 (0) Meaning: The operation was successful.

Action: Continue normal program execution.

00000004 (4) xxxx0807 (2055) Meaning: Media damage may be present in allocated DASD space. The damage is beyond the currently saved portion of the object. The SAVE operation completed successfully.

Action: Notify your system programmer.

00000008 (8) xxxx0143 (323) Meaning: You cannot use the SAVE service for a temporary object.

Action: Use the scrollout (CSRSCOT) service.

0000000C (12) xxxx000A (10) Meaning: There is another service currently executing with the specified ID.

Action: Use a different ID or wait until the other service completes. If the problem persists, notify your system programmer.

0000000C (12) xxxx0017 (23) Meaning: An I/O error has occurred.

Action: Notify your system programmer.

0000000C (12) xxxx001A (26) Meaning: The specified range does not encompass any mapped area of the object.

Action: If you expect this reason code, take whatever action the design of your program dictates. If the reason code is unexpected, check your program for errors: you might have specified the wrong range of blocks on CSRVIEW or on CSRREFR. If you do not find any errors in your program, notify your system programmer.

0000000C (12) xxxx0801 (2049) Meaning: System error — Insufficient storage available to build the necessary data-in-virtual control block structure.

Action: Notify your system programmer.

0000000C (12) xxxx0802 (2050) Meaning: System error — I/O driver failure.

Action: Notify your system programmer.

0000000C (12) xxxx0803 (2051) Meaning: System error — A necessary page table could not be read into real storage.

Action: Notify your system programmer.

0000000C (12) xxxx0804 (2052) Meaning: System error — Catalog update failed.

Action: Notify your system programmer.

0000000C (12) xxxx0806 (2054) Meaning: System error — I/O error.

Action: Notify your system programmer.

0000000C (12) xxxx0808 (2056) Meaning: System error — I/O from a previous request has not completed.

Action: Notify your system programmer.

0000002C (44) 00000004 (4) Meaning: Window services have not been defined to your system or the link to the service failed.

Action: Notify your system programmer.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014