HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)
CPI-C Calls
Accept_Incoming (cmacci)
Chapter 3 123
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 One of the following
occurred:
• The conversation specified by
conversation_ID
is not in
Initialize-Incoming state.
• No incoming Allocaterequest was
received within the timeout
period specified in the
configuration.
• The application has released the
local TP name specified, for
example, in the APPCTPN
environment variable, and has
not specified any additional local
TP names. The application must
have at least one local TP name
before issuing this call. For more
informationaboutspecifyinglocal
TP names, see “Specifying the
Local TP Name” in Chapter 2.
• The application was started
manually, but is defined in the
invokable TP data file as
nonqueued. A nonqueued TP is
started automatically by
SNAplus2 in response to an
incoming Attach; if you attempt
to start it manually, the
Accept_Incoming call will fail
because there is no incoming
Attach waiting for the
application.
For an explanation of the following return codes, see
Appendix A, “Common Return Codes.”