Use the IF keyword to identify when to take further actions or processing. IF is different from SELRECIF and SELMEMIF in that IF defines a condition that requires further processing. SELRECIF and SELMEMIF select records or PDS members for processing by a specified command.
The AND/OR keywords are only valid immediately following the IF, SKIPRECIF, SELRECIF and SELMEMIF keywords.
When an IF keyword immediately follows another IF/AND/OR keyword, the second IF is treated like an AND statement.
When IFs are separated by actions, subsequent IFs are not subordinate to the previous IF. The last action and the STOP keyword are subordinate to an IF/AND/OR ends the IF/AND/ORs actions.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|