Page History
7.10 CALLCHECK
| Note | ||
|---|---|---|
| title | Note | : Usage options |
The CALLCHECK command is used to validate data by calling a program and optionally pass additional parameters to it as well as to then take appropriate action as determined by the return codes.
Portability Considerations | See Parameter PROG_TYPE. |
Also See
7.10.2 CALLCHECK Comments / Warnings
| Panel | ||
|---|---|---|
| ||
Required CALLCHECK | ||
| No Format | ||
| Required
CALLCHECK ---- FIELD ----------- field name ---------------------> >>-- BY_CALLING ---- program name . *LIBL -----------> library name >-- PROG_TYPE
>-- PROG_TYPE ----- program type --------------------> ------------------------------------------------------------------ Optional >------- >-- ADD_PARM ----- additional parameters ------------> | expandable group expression |
20 characters ----- >>-- GOOD_RET ----- *NEXT ------------------------------> *ERROR *ACCEPT >-- BAD_RET
>-- BAD_RET ------- *ERROR -----------------------------> *NEXT *ACCEPT >-- MSGTXT
>-- MSGTXT -------- *NONE ------------------------------> message text >-- MSGID
>-- MSGID --------- DCU0005 ----------------------------> message identifier >-- MSGF
>-- MSGF ---------- DC@M01 . *LIBL ----------------------> message file . library name >-- MSGDTA
>-- MSGDTA ------- substitution variablesvariables -----------------| | expandable group expression |
20 max ------------------- |