HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)
CPI-C Calls
Extract_TP_Name (cmetpn)
Chapter 3186
Returned Parameters
After the verb executes, SNAplus2 returns parameters to indicate
whether the execution was successful and, if not, to indicate the reason
the execution was unsuccessful.
TP_name
This parameter specifies the starting address of the TP
name.
TP_name_length
This parameter specifies the length of the TP name.
return_code
Possible values are:
CM_OK The call executed successfully.
CM_PROGRAM_PARAMETER_CHECK The value specified by
conversation_ID
is not valid.
CM_PROGRAM_STATE_CHECK The conversation is in
Reset or Initialize-Incoming state.
CM_PRODUCT_SPECIFIC_ERROR For an explanation of
this return code, see Appendix A,
“Common Return Codes.”
State When Issued
The conversation can be in any state except Reset or Initialize-Incoming.
State Change
There is no state change.