The CONDCHECK command is used to check a field by evaluating a condition or expression.
7.17.2 CONDCHECK Comments / Warnings
Required CONDCHECK ---- FIELD -------- field name ---------------------> >-- COND --------- condition ----------------------> ----------------------------------------------------------------- Optional >-- IF_TRUE ------ *NEXT --------------------------> *ERROR *ACCEPT >-- IF_FALSE ----- *ERROR -------------------------> *NEXT *ACCEPT >-- MSGTXT ------- *NONE --------------------------> message text >-- MSGID -------- DCU0004 ------------------------> message identifier >-- MSGF --------- DC@M01 . *LIBL -----------------> message file . library name >-- MSGDTA ------- substitution variables ---------| | expandable group expression | --------- 20 max ---------------- |