HP-UX SNAplus2 R7 APPC Programmer's Guide

APPC Conversation Verbs
MC_FLUSH and FLUSH
tp_id
Identier for the local TP.
The value of this parameter was returned by the TP_STARTED verb in the invoking TP or by RE-
CEIVE_ALLOCATE in the invoked TP.
conv_id
Conversation identier.
The value of this parameter was returned by the [MC_]ALLOCATE verb in the invoking TP or by
RECEIVE_ALLOCATE in the invoked TP.
4.6.7 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 parameter:
primary_rc
AP_OK
Unsuccessful Execution
If the verb does not execute successfully, APPC returns a primary return code parameter to indicate the type of
error and a secondary return code parameter to provide specic details about the reason for unsuccessful execution.
Parameter Check
If the verb does not execute because of a parameter error, APPC returns the following parameters:
primary_rc
AP_PARAMETER_CHECK
secondary_rc
Possible values are:
AP_BAD_CONV_ID
The value of conv_id did not match a conversation identier assigned by APPC.
AP_BAD_TP_ID
The value of tp_id did not match a TP identier assigned by APPC.
UNIX
AP_INVALID_FORMAT
The reserved eld format was set to a nonzero value.
AP_SYNC_NOT_ALLOWED
The application issued this verb within a callback routine, using the synchronous APPC entry point.
Any verb issued from a callback routine must use the asynchronous entry point.
State Check
If the conversation is in the wrong state when the TP issues this verb, APPC returns the following parameters:
142