OpenTP1 Version 7 Programming Reference C Language
dc_dam_end - Terminate using an unrecoverable DAM file
Format
ANSI C, C++
#include <dcdam.h> int dc_dam_end (DCLONG flags) |
K&R C
#include <dcdam.h> int dc_dam_end (flags) DCLONG flags; |
Description
The function dc_dam_end() terminates using an unrecoverable DAM file.
When the function dc_dam_start() is called, call the function dc_dam_end() before terminating the processing. If the function dc_dam_end() is not called, a resource used to access an unrecoverable DAM file is not released until the UAP terminates.
Argument whose value is set in the UAP
flags
Specify DCNOFLAGS.
Return values
Return value | Return value (numeric) | Explanation |
---|---|---|
DC_OK | 0 | Normal termination. Using an unrecoverable DAM file is terminated. |
DCDAMER_PROTO | -1600 | The function dc_rpc_open() is not called. |
DCDAMER_SEQER | -1605 | The function dc_dam_start() is not called. |
DCDAMER_PARAM_FLAGS | -1611 | The value specified for flags is invalid. |
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.