HP-UX SNAplus2 R7 APPC Programmer's Guide
APPC Control Verbs
TP_STARTED
3.1.4 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
tp_id
Identifier for the local TP.
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 specific 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_LU_ALIAS
The value of the lu_alias parameter was not valid.
UNIX
AP_INVALID_FORMAT
The reserved parameter format was set to a nonzero value.
AP_SYNC_NOT_ALLOWED
Using the synchronous APPC entry point, the application issued this verb within a callback routine.
Any verb issued from a callback routine must use the asynchronous entry point.
State Check
No state check errors occur for this verb.
Other Conditions
If the verb does not execute because other conditions exist, APPC returns primary return codes (and, if applicable,
secondary return codes). For information about these return codes, see Appendix B, Common Return Codes.
Possible return codes are:
primary_rc
AP_COMM_SUBSYSTEM_ABENDED
AP_COMM_SUBSYSTEM_NOT_LOADED
AP_UNEXPECTED_SYSTEM_ERROR
WINDOWS
AP_STACK_TOO_SMALL
AP_INVALID_VERB_SEGMENT
80