Returns a non-varying character string whose value is the name of the condition for which a CONDITION condition is raised.
ONCONDCOND()
or
ONCONDCOND
ONCONDCOND returns a non-varying character string whose value is the name of the condition for which a CONDITION condition is raised. It is considered in context in the following situations:
If ONCONDID() is used when not in context, a null string is returned.
ON ERROR begin; IF ONCONDCOND() = ‘USERCONDITION’ THEN GOTO RECOVERY; Else CALL PLIDUMP(‘FBCHAT’); end;
None.