Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

7.75 IF_STATUS

Note
titleNote: Usage options

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.

...

7.75.3 IF_STATUS Examples

...


Panel
bgColor#ffffcc

                                                                                 Optional

  IF_

...

STATUS ----

...

IS -----------

...

*

...

OKAY ------------------------>

...

                                              *ERROR

...

                                              *VALERROR

...

                                             *NORECORD

...

                                             *ENDFILE

...

                                            *BEGINFILE

...

                                            *EQUALKEY

...

                                            *NOTEQUALKEY

...

              >---

...

IS_

...

NOT ------

...

*

...

OKAY --------------------------|

...

                                            *ERROR

...

                                            *VALERROR

...

                                           *NORECORD

...

                                           *ENDFILE

...

                                           *BEGINFILE

...

                                          *EQUALKEY

...

                                          *NOTEQUALKEY