Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
EXIT statement z/OS DFSMSdfp Storage Administration SC23-6860-01 |
|
The EXIT statement immediately terminates the operation of an ACS routine. EXIT <CODE(n)>
Figure 1. Example of an EXIT
Statement
If the first IF statement is true (&UNIT does not match any unit named in the VALID_UNITS filter criteria), then execution of this ACS routine terminates immediately. Allocation proceeds, because the exit code is zero, the default. If the second IF statement is true (none of the input volumes match the SECVOL FILTLIST criteria), then execution of this ACS routine terminates immediately and the allocation fails. The value for CODE, 22, is set and displayed as part of the allocation failed error message written to the end user. |
Copyright IBM Corporation 1990, 2014
|