z/OS TSO/E Programming Services
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Return Codes from STACK

z/OS TSO/E Programming Services
SA32-0973-00

When the STACK service routine returns to the program that invoked it, STACK provides one of the following return codes in general register 15:

Table 1. Return codes from the STACK service routine
Return code dec(Hex) Meaning
0(0) STACK has completed successfully.
4(4) One or more of the parameters passed to STACK were not valid.
8(8) INDD was specified and the file could not be opened.
12(C) OUTDD was specified and the file could not be opened.
16(10) MEMBER was specified but was not in the partitioned data set specified by INDD.
20(14) GETMAIN failure (only possible if MEMBER is specified).
24(18) One of the following occurred:
  • The INQUIRE=ATTN operand was specified and a CLIST attention routine is present in the current substack.
  • The INQUIRE=ERROR operand was specified and a CLIST error routine is present in the top element of the current substack.
28(1C) One of the following occurred:
  • The INQUIRE=ATTN operand was specified and a CLIST attention routine is not present in the current substack.
  • The INQUIRE=ERROR operand was specified and a CLIST error routine is not present in the top element of the current substack.
32(20) The INQUIRE=TYPE operand was specified and the topmost stack element is a terminal element.
36(24) The INQUIRE=TYPE operand was specified and the topmost stack element is an in-storage list.
40(28) The INQUIRE=TYPE operand was specified and the topmost stack element is a command procedure.
44(2C) The INQUIRE=TYPE operand was specified and the topmost stack element is a BARRIER=* element.
48(30) The INQUIRE=TYPE operand was specified and the topmost stack element is an input file name.
52(34) The INQUIRE=TYPE operand was specified and the topmost stack element is an output file name.
56(38) The INQUIRE=TYPE operand was specified and the topmost stack element has both an input file name and an output file name specified.
60(3C) The INQUIRE=TYPE operand was specified and the topmost stack element is a TERMIN or TERMING element.
64(40) The INQUIRE=TYPE operand was specified and the topmost stack element is an unknown element.
68(44) The INQUIRE=TYPE operand was specified and the topmost stack element is a REXX element.
72(48) A request to add a barrier element to the input stack contains a not valid STACK parameter block. This is a probable user error caused when the STACK macro is not used to invoke the STACK service. To correct the error, the terminal element bit in the element code byte of the STACK parameter block (described above) must be ON when requesting to add a barrier element to the input stack.
76(4C) The ENVIRON option was specified, but an error occurred when creating or destroying an I/O environment.
80(50) The INQUIRE=TYPE operand was specified and the topmost stack element is a BARRIER=NONEST element.
Figure 1. STACK Control Blocks: No In-Storage List
Figure 2. STACK Control Blocks: In-Storage List Specified

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014