The LISTEN function allows a CLIST to pause until one or more system events occur.
ENFC LISTEN EVENT(event1[,event2,...,event9])
[CONT(YES|NO)]
[FROM(yydddhhmmssth)]
Specifies the event types (from one to nine) for which you wish to wait. These events must be defined in the CAIENF database.
Indicates the action to be taken after control returns to the CLIST.
Keeps the LISTEN active after control returns to the CLIST. Note that if you specify YES, you must issue an ENFC TERM command when you finish LISTENing so that event data is not unnecessarily queued up.
Starts a new LISTEN every time ENFC is called. However, any events that occurred between the time of the first and second LISTENs are not returned to you.
Specifies a recovery date and time for events that have been logged. Beginning at this date and time, CAIENF returns the logged events for which you have been listening.
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |