7.61 FILECHECK

Note: 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.61.2 FILECHECK Comments / Warnings

7.61.3 FILECHECK Examples

7.7 BEGINCHECK

7.10 CALLCHECK

7.17 CONDCHECK

7.19 DATECHECK

7.45 ENDCHECK

7.102 RANGECHECK

7.128 VALUECHECK

                                                         Required

 

  FILECHECK ---- FIELD -------- field name --------------------->

 

             >-- USING_FILE --- file name . *FIRST ------------->

                                            library name

 

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

                                                         Optional

 

             >-- USING_KEY ---- *FIELD ------------------------->

                                key field values

                                expandable group expression

 

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

                                *ERROR

                                *ACCEPT

 

             >-- NOT_FOUND ---- *ERROR ------------------------->

                                *NEXT

                                *ACCEPT

 

             >-- MSGTXT ------- *NONE -------------------------->

                                message text

 

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

                                message identifier

 

             >-- MSGF --------- DC@M01 . *LIBL ----------------->

                                message file . library name

 

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

                              |expandable group expression |

                               --------- 20 max ----------