7 48 FILECHECK

LANSA Technical

7.48 FILECHECK

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.48.1 FILECHECK Parameters

7.48.2 FILECHECK Comments / Warnings

7.48.3 FILECHECK Examples

7.4 BEGINCHECK

7.7 CALLCHECK

7.14 CONDCHECK

7.16 DATECHECK

7.35 ENDCHECK

7.78 RANGECHECK

7.99 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 ----------