7 58 IF_STATUS

LANSA Technical

7.58 IF_STATUS

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.58.1 IF_STATUS Parameters

7.58.2 IF_STATUS Comments / Warnings

7.58.3 IF_STATUS Examples

                                                         Optional

 

  IF_STATUS ---- IS ----------- *OKAY -------------------------->

                                *ERROR

                                *VALERROR

                                *NORECORD

                                *ENDFILE

                                *BEGINFILE

                                *EQUALKEY

                                *NOTEQUALKEY

 

            >--- IS_NOT ------- *OKAY --------------------------|

                                *ERROR

                                *VALERROR

                                *NORECORD

                                *ENDFILE

                                *BEGINFILE

                                *EQUALKEY

                                *NOTEQUALKEY