Versions Compared

Key

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

7.61 FILECHECK

Note
titleNote: Usage options

The FILECHECK command is used to check a field against an entry in a file.

Portability Considerations

Refer to parameter USING_FILE .

Also See

7.61.1 FILECHECK Parameters

...

7.102 RANGECHECK

7.128 VALUECHECK

                                                         Required

...


Panel
bgColor#ffffcc

                                                                                         Required

  FILECHECK ---- FIELD -----------

...

field name --------------------->

...

                    >--

...

USING_

...

FILE ----

...

file name .

...

*

...

FIRST --------------->

...

                                                    library name

 --------------------------------------------------------------------

...

                                                         Optional

...

-

                                                                                          Optional

                   >-- USING_KEY ----

...

*

...

FIELD --------------------------->

                                key field values

                                expandable group expression

...

                                                   key field values
                                                  expandable group expression

                  >-- FOUND ------- *NEXT --

...

-------------------------->

...

                                                 *ERROR

...

                                                *ACCEPT

...

                 >--

...

NOT_

...

FOUND - *ERROR ---

...

------------------------

...

>

...

                                                *NEXT

...

                                               *ACCEPT

...

                >--

...

MSGTXT -------

...

*

...

NONE ---------------------------->

                                message text

...

                                               message text

                >-- MSGID -------- DCU0003 --

...

------------------------>

                                message identifier

...

                                              message identifier

               >-- MSGF ---------

...

DC@M01 .

...

*

...

LIBL -------------------->

                                message file . library name

...

                                             message file . library name

             >-- MSGDTA ------- substitution variables ------

...

---------|

                              |expandable group expression |

...

                                           |  expandable group expression  |
                                             ----------- 20 max -

...

-----------