OpenTP1 Version 7 TP1/Client User's Guide TP1/Client/W, TP1/Client/P

[Contents][Index][Back][Next]

4.5.7 dc_trn_info_s - Post information about current transaction

Organization of this subsection
(1) Form
(2) Purpose
(3) Arguments set by UAPs
(4) Return values

(1) Form

(a) TP1/Client/W
_s version of the function
 
#include <dcvtrn.h>
DCLONG dc_trn_info_s(DCCLT_ID cltid, char *flags)
 
Non-_s version of the function
 
#include <dcvtrn.h>
DCLONG dc_trn_info(char *flags)
 
(b) TP1/Client/P
_s version of the function
 
#include <dcvtrn.h>
DCLONG dc_trn_info_s(DCCLT_ID cltid, char CLTFAR *flags)
 
Non-_s version of the function
 
#include <dcvtrn.h>
DCLONG dc_trn_info(char CLTFAR *flags)
 

(2) Purpose

Posts whether the CUP having issued the dc_trn_info_s function remains active as a transaction.

(3) Arguments set by UAPs

(4) Return values

Return Value Value (decimal) Meaning
- 1 The CUP process that issued the dc_trn_info_s function is in a transaction.
- 0 The CUP process that issued the dc_trn_info_s function is outside the transaction.
DCCLTER_INVALID_CLTID -2544 The client ID specified in cltid differs from the one received by the dc_clt_cltin_s function.

Legend:
-: Not applicable