7.112 SET_ERROR
The SET_ERROR command is used to set an error against a field within a BEGINCHECK / ENDCHECK validation block.
Normally the SET_ERROR command is used when a set of RDML commands other than the standard commands RANGECHECK, DATECHECK, VALUECHECK, etc is used to validate a field.
Also See
Required
SET_ERROR ------ FOR_FIELD ------ field name -------------------->
| expandable group expression |
--------- 100 max ------------
-----------------------------------------------------------------------
Optional
>-- MSGTXT ------- *NONE ------------------------>
message text
>-- MSGID -------- *NONE ------------------------>
message identifier
>-- MSGF --------- *NONE . *LIBL ---------------->
message file . library name
>-- MSGDTA ------ substitution variables -----------|
| expandable group expression |
--------- 20 max -------------