OpenTP1 Version 7 Programming Reference C Language
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 value | Return value (numeric) | Explanation |
---|---|---|
DC_OK | 0 | Normal termination. |
DCADMER_COMM | -1851 | An error occurred during communication between processes. |
DCADMER_PARAM | -1852 | The argument value is invalid. |
DCADMER_STS_IO | -1853 | A status information input/output error occurred. |
DCADMER_PROTO | -1854 | The user server is not being started/restarted normally, or the function dc_rpc_open() was not called. |
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.