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