HP-UX SNAplus2 R7 APPC Programmer's Guide

APPC Conversation Verbs
MC_SEND_ERROR and SEND_ERROR
The local TP detected an error in the data it received from the remote TP.
AP_SEND_DIR_ERROR
The local TP detected an error in its own data (for example, it could not read data from disk) or in its
own processing.
log_dlen
Number of bytes of data to be sent to the error log le. This parameter is used only by the SEND_ERROR
verb.
The range for this value is
032,767. A length of 0 (zero) indicates that there is no error log data.
log_dptr
Address of data buffer containing error information. This data is sent to the local error log and to the partner
LU.
This parameter is used by the SEND_ERROR verb if
log_dlen is greater than 0 (zero).
The TP must format the error data as a General Data Stream (GDS) error log variable. For further
information, refer to the IBM publication Systems Network Architecture Format and Protocol Reference
Manual: Architecture Logic for LU Type 6.2.
WINDOWS
The data buffer can reside in a static data area or in a globally allocated area. The data buffer must t entirely
within this area.
4.17.6 Returned Parameters
After the verb executes, APPC returns parameters to indicate whether the execution was successful and, if not, to
indicate the reason the execution was not successful.
Successful Execution
If the verb executes successfully, APPC returns the following parameters:
primary_rc
AP_OK
rts_rcvd
Request-to-send-received indicator. This parameter applies only in a half-duplex conversation; it is not used
in a full-duplex conversation. Possible values are:
AP_YES
The partner TP has issued the [MC_]REQUEST_TO_SEND verb, which requests that the local TP
change the conversation to Receive state. To change to Receive state, the local TP can use the
[MC_]PREPARE_TO_RECEIVE, [MC_]RECEIVE_AND_WAIT, or [MC_]RECEIVE_AND_POST
verb.
AP_NO
The partner TP has not issued the [MC_]REQUEST_TO_SEND verb.
expd_rcvd
Expedited data indicator.
Possible values are:
AP_YES
228