HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)

CPI-C Calls
Accept_Conversation (cmaccp)
Chapter 3120
CM_PROGRAM_STATE_CHECK This value indicates one of
the following conditions:
No incoming Allocaterequest was
received within the timeout
period specified in the
configuration.
The application has not specified
any local TP names (or, for
HP-UX systems, has released all
specified names). The application
must have at least one local TP
name before issuing this call. For
more information about
specifying local 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 a
conversation request (an
incoming Attach); if you attempt
to start it manually, the
Accept_Conversation call will fail
because there is no incoming
Attach waiting for the
application.
CM_PRODUCT_SPECIFIC_ERROR See Appendix A,
“Common Return Codes.
State When Issued
The conversation must be in Reset state.
State Change
If the call is successful, the conversation changes to Receive state. If the
call fails, the state remains unchanged.