Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Processing the SMP/E RC operand SMP/E for z/OS Commands SA23-2275-01 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SMP/E keeps records of the highest return code for each command processed during a single SMP/E run. Before SMP/E processes a command, it checks whether the return codes for previous commands are less than the maximum allowed. If so, SMP/E can process the command; otherwise, the command fails. You can change which return codes SMP/E checks for by specifying
the RC operand on the command you want to process. This operand must
be the last one specified on the command. It indicates which commands
and return codes SMP/E is to check before processing the current command.
The return code must be a decimal number greater than or equal to
0 and less than 16. For example, if you want the ACCEPT command to
run unless the return code from a previous APPLY command is higher
than 8, and you want SMP/E to check the default values for JCLIN,
UCLIN, and SET, you should code this RC operand on the ACCEPT command:
Table 1 shows the default maximum return
codes for each SMP/E command. Using these default values, for example,
SMP/E processes an ACCEPT command if the return codes for previous
commands meet these conditions:
Return code processing for the RC operand is similar to processing for the default maximum return codes. Before SMP/E processes a command with the RC operand, it checks whether the return codes for previous commands are less than or equal to the maximums specified on the RC operand. If so, SMP/E can process the command; otherwise, the command fails. There is a difference, however. SMP/E checks return codes only for the commands specified on the RC operand. Return codes for any commands not specified do not affect processing for the current command. Therefore, if you use the RC operand, you should specify every command whose return code you want SMP/E to check. |
Copyright IBM Corporation 1990, 2014
|