The verb options available for requesting received data are:
&APPC RECEIVE_AND_WAIT &APPC RECEIVE_IMMEDIATE
while an asynchronous notification that data has been received (without actually receiving it into target variables) can be requested by:
&APPC RECEIVE_NOTIFY
Following notification, the RECEIVE_IMMEDIATE request can be used to retrieve the data. When data is received, it can be placed in one or more tokens, or into an MDO.
Following a receive operation the &ZAPPCWR and &ZAPPCWRI indicators are set explaining the nature of the data received. It is possible to get a successful receive (&RETCODE 0) when no data is placed into the target variables. However the what-received indicator could show that some request, such as a confirm, has been received and hence the procedure should issue the &APPC CONFIRMED response.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |