dc_adm_complete - Report the completion of user server start processing

Format

ANSI C, C++

#include <dcadm.h>
int dc_adm_complete (DCLONG flags)

K&R C

#include <dcadm.h>
int dc_adm_complete (flags)
DCLONG      flags;

Description

This function dc_adm_complete() notifies the OpenTP1 that SUP activation has been completed. SUP activation is completed when the function dc_adm_complete() normally returns.

SPPs and MHPs assume the completion of start processing when the function dc_rpc_mainloop() or the function dc_mcf_mainloop() terminates normally. Thus, there is no need to call the function dc_adm_complete() for SPPs and MHPs.

The function dc_adm_complete() cannot be called from UAP that handles offline work.

Argument whose value is set in the UAP

flags

Specify DCNOFLAGS.

Return values

Return valueReturn value (numeric)Explanation
DC_OK0Normal termination.
DCADMER_COMM-1851An error occurred during communication between processes.
DCADMER_PARAM-1852The argument value is invalid.
DCADMER_STS_IO-1853A status information input/output error occurred.
DCADMER_PROTO-1854The user server is not being started/restarted normally, or the function dc_rpc_open() was not called.