Previous Topic: ENFC LISTEN FunctionNext Topic: ENFMSG


LISTEN Processing

Control is returned to the CLIST only after one of the events in the event list has occurred or after an error is encountered. When control is returned, the following CLIST variables are set:

ENFRC

Return code from the LISTEN function. If the value is zero, the function has completed successfully. If it is nonzero, the variable ENFMSG contains an error message.

ENFDRC

Detail return code from the LISTEN function. This code contains further information about the error if an error was indicated in ENFRC.