Sample QPF_ACTION command set
The following table identifies the library member that contains the sample QPF_ACTION command set. MAQSAMP also contains an index in member QMR@INDX that lists all sample command sets that are provided with Message Advisor.
Member | Description |
---|---|
QPF@ACT1 | unloads, dequeues, and stops a certain destination |
Note
The sample contains ?, which you should replace with your site-specific values. You cannot build this command set interactively by using the Message Advisor ISPF interface; however, you can directly invoke ISPF EDIT from the interface for this purpose.
The following figure shows a command set for taking action to correct a message queue overflow problem identified on the QPF Problem List. This command set is identical to the QPF_ACTION command set that is provided in MAQSAMP(QPF@ACT1).
In this sample, the command requests that processing occur against the CNT destination ( TYPE) for IMSID ( ?). ACTION=UNLOAD_DEQUEUE indicates that all CNT destinations will be unloaded and dequeued. Message Advisor waits ( WAIT=YES) until the action is complete before resuming.
QPF_ACTION IMSID=?,TYPE=CNT,NAME=?,
ACTION=UNLOAD_DEQUEUE,WAIT=YES
END
Comments
Log in or register to comment.