Previous Topic: ENFC LISTEN Function

Next 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 given back, the following CLIST variables are set:

ENFRC

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

ENFDRC

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