PWFI= parameter for procedures

Use the PWFI= parameter in procedure to specify the pseudo-wait-for-input (PWFI) parameter. Valid values are Y, or N. N is the default.

Y
Activates pseudo wait-for-input (PWFI). If the application program issues a Get Unique (GU) call to get a message from the IMS message queue, MODE=SINGLE is specified on the TRANSACT macro and no message is available, IMS checks for other work for this region. If no other work is available, instead of returning status QC to the application program, IMS enqueues this region on scheduler subqueue 6 indicating that it is a PWFI region. If the next message is for the transaction scheduled in this MPP region, this region is dequeued from subqueue 6 and posted. IMS then returns the new message to the application program. This eliminates the rescheduling of IMS resources. If the processing limit (PROCLIM) for the transaction is reached, the application receives a QC status and is expected to terminate. After the application program terminates, it is reloaded on the subsequent schedule.
N
Disables PWFI. If the program issues a Get Unique (GU) call to get a message from the IMS message queue but no message is available, the application program receives status QC.