The IF_STATUS command is a hybrid version of the normal IF command. It allows the status of the last I/O command to be tested without specific references to the I/O return codes.
For more information, refer to I/O Return Codes.
Also See
7.75.2 IF_STATUS Comments / Warnings
Optional
IF_STATUS ---- IS ----------- *OKAY -------------------------->
*ERROR
*VALERROR
*NORECORD
*ENDFILE
*BEGINFILE
*EQUALKEY
*NOTEQUALKEY
>--- IS_NOT ------- *OKAY --------------------------|
*ERROR
*VALERROR
*NORECORD
*ENDFILE
*BEGINFILE
*EQUALKEY
*NOTEQUALKEY