Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Using Nested IF Commands: Example 1 z/OS DFSMS Access Method Services Commands SC23-6846-01 |
|
In this example, nested IF commands are used to determine whether
or not a REPRO, DELETE, or PRINT command is run.
If LASTCC is greater than 4, MAXCC is tested. If MAXCC is less than 12, the REPRO command is run; if the value of MAXCC is 12 or greater, the DELETE command is run instead. If the value of LASTCC is 4 or less, LASTCC is tested for being exactly 4; if it is, the program takes no action. If LASTCC is less than 4, the program runs the PRINT command. |
Copyright IBM Corporation 1990, 2014
|