Use the IF statement to specify the expected return code of a previous operation that will allow execution of the following operation.
- nn specifies a return code number.
- Specifies whether the skipped statements are to be listed in the SYSPRINT data set.
- When this parameter is omitted, the default from the EXEC PARM field applies.
When condition is true, all the following control statements will be executed until the next ELSE or ENDIF statement.
When LIST= is explicitly specified it becomes the default setting for the following IF|ELSE statements.