Returns a character string, equivalent to that of the LU6.2 WHAT_RECEIVED parameter.
&ZAPPCWR returns a character string, equivalent to that of the LU6.2 WHAT_RECEIVED parameter, containing one of the following indicators:
Nothing received
Data received complete
Data was truncated
Data was incomplete
Data complete
FMH data truncated
FMH data incomplete
send state
confirm state
confirm_send state
confirm_deallocate state
deallocate state
This system variable is set following an &APPC RECEIVE_AND_WAIT or &APPC RECEIVE_IMMEDIATE request and indicates the type of data returned by the request.
A value of DATA_COMPLETE indicates that data was returned in the variables supplied.
A value of DATA_TRUNCATED or DATA_INCOMPLETE indicates that data was returned but an error has occurred that caused the data to be truncated.
A value of SEND indicates that no data was returned, but that the remote conversation partner has entered receive state, so the local conversation has entered send state.
A value of CONFIRM, CONFIRM_SEND, or CONFIRM_DEALLOCATE indicates that no data was returned, but that the local conversation should issue an &APPC CONFIRMED request, following which receive, send, or deallocate state is entered respectively.
A value of DEALLOCATE indicates that no data was returned, but that the remote conversation partner issued a DEALLOCATE TYPE=FLUSH, and the local conversation should issue an &APPC DEALLOCATE TYPE=LOCAL to free all conversation resources.
Example: &ZAPPCWR
&IF &ZAPPCWR = CONFIRM &THEN +
&GOSUB .CONF
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |