Return codes

When SPZAP ends, one of the following return codes is placed in general purpose register 15:
Code
Meaning
00
Successful completion.
04
Warning of a condition. This may result in future errors if an action is not taken to correct the warning now.
08
A SPZAP input statement contains an error or was overridden by operator intervention. Check the syntax of the statements to determine the cause of the error.
12
A requested JCL statement is absent or specifies a data set that was not successfully opened. SPZAP ends immediately.
16
A permanent I/O error has occurred, perhaps caused by a JCL error, such as incorrect blocksize. SPZAP ends immediately. The region size might be too small. REGION=200K is the smallest permitted. However, the program management binder might require as much as 4M or 6M if the program object is very large.
20
Using DUMP, DUMPT, VER, or REP processing, SPZAP found a control record for a specific control section that was larger than the specified BLOCKSIZE. SPZAP ends immediately.