Returns the number of active APPC conversations for the NCL process.
An NCL process can have multiple APPC conversations active at any one time. &ZAPPCACC returns the active conversation count. It is particularly useful when the NCL process is acting as a server for APPC conversations with a connect mode of ACCEPT. In this case, &ZAPPCACC can represent the number of client conversations waiting to be processed by the server.
Example: &ZAPPCACC
&APPC SET_SERVER_MODE CONNECT=ACCEPT &IF &ZAPPCACC NE 0 &THEN + &DO &APPC RECEIVE_AND_WAIT ID=CLIENTS
| Copyright © 2009 CA. All rights reserved. |
|