Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
SET command—setting condition codes and patch bytes z/OS DFSMSdss Storage Administration SC23-6868-01 |
|
As an alternative to setting flags in ADRPATCH (a module in the DFSMSdss load module ADRDSSU), you can customize certain DFSMSdss functions by temporarily setting patch bytes during DFSMSdss processing through a SET PATCH command. The SET command also allows you to set the LASTCC and MAXCC variables to any value from 0 to 16, inclusive. By doing so, you can influence the logical path that DFSMSdss takes in the command sequence following the SET command. You can set the following condition codes with the SET command. Use an IF-THEN-ELSE command sequence to test for these condition codes.
If you are running a batch job, the condition codes that are tested in the IF-THEN-ELSE command sequence, and that can be set by the SET command, cannot be passed from one job step to the next. However, the final maximum condition code is passed to the MVS system when DFSMSdss returns control to the system at the completion of step processing. Do not use SET LASTCC before the first function command. You can determine the condition code of the last-requested operation (LASTCC) and the maximum code of all completed operations (MAXCC) with an IF command. When an IF MAXCC or SET MAXCC command is encountered, DFSMSdss waits for all previously requested function commands to complete before the highest return code is determined. Also, when an IF LASTCC or SET LASTCC command is encountered, DFSMSdss waits for the last-requested function command to complete before the return code is determined. After the return code is determined and if the condition code is tested and satisfied, DFSMSdss ends the command or commands following the THEN keyword. If the tested condition is not satisfied, DFSMSdss bypasses the command or commands following the THEN keyword. |
Copyright IBM Corporation 1990, 2014
|