| Note: Usage options |
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.
Required SET_ERROR ------ FOR_FIELD ------ field name --------------------> ----------------------------------------------------------------------- Optional >-- MSGTXT ------- *NONE ------------------------> >-- MSGID -------- *NONE ------------------------> >-- MSGF --------- *NONE . *LIBL ----------------> >-- MSGDTA ------ substitution variables -----------| |