&APPC PREPARE_TO_RECEIVE changes processing from sending to receiving data.
PREPARE_TO_RECEIVE indicates that the conversation has terminated send operations and is next expecting to receive data.
This verb has the following format:
&APPC { PREPARE_TO_RECEIVE | PREPARE }
[ TYPE={ SYNC | FLUSH | CONFIRM } ]
[ ID=id ]
Operands:
Specifies the level of confirmation required for any data previously sent to the remote conversation partner as follows:
Specifies the conversation identifier (as first returned by the system variable &ZAPPCID after successful allocation) that references a particular conversation. If this parameter is omitted, the current (last referenced, or only) conversation is assumed.
Examples: &APPC PREPARE_TO_RECEIVE
&APPC PREPARE_TO_RECEIVE TYPE=FLUSH
&APPC PREPARE_TO_RECEIVE TYPE=CONFIRM
Return Codes:
The return codes are as follows:
Request successful
Request unsuccessful
Remote program error
State check
Request or conversation error
&ZFDBK is also set, plus all APPC system variables.
State Transition:
The PREPARE_TO_RECEIVE request is issued from send state only, and results in receive state being entered.
Notes:
Relationship to LU6.2 Verb Set:
&APPC PREPARE_TO_RECEIVE is equivalent to the LU6.2 verb MC_PREPARE_TO_RECEIVE. The LU6.2 verb has a LOCKS parameter which is not supported by &APPC.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |