OpenTP1 Version 7 Programming Reference COBOL Language

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

4. X/Open-compliant Application Programming Interface

This chapter explains the syntax of COBOL-UAP creation programs compliant with application programming interfaces stipulated by X/Open.

This chapter contains the following sections:

Organization of this chapter
X/Open-compliant function
XATMI-interfaced application programming interface (TP~)
TPINTRO - COPY files for the XATMI interface
TPACALL - Send a service request
TPADVERTISE - Advertise a service name
TPCALL - Send a service request and synchronously await its reply
TPCANCEL - Cancel a communication handle for an outstanding reply
TPCONNECT - Establish a conversational service connection
TPDISCON - Terminate a conversational service connection abortively
TPGETRPLY - Get a reply from a previous service request
TPRECV - Receive a message in a conversational connection
TPRETURN - Return from a service routine
TPSEND - Send a message in a conversational connection
TPSVCSTART - Start a service routine
TPUNADVERTISE - Unadvertise a service name
TX-interfaced application programming interface (TX~)
TXINTRO - COBOL data structures
TXBEGIN - Begin a transaction
TXCLOSE - Close a set of resource managers
TXCOMMIT - Commit a global transaction
TXINFORM - Return global transaction information
TXOPEN - Open a set of resource managers
TXROLLBACK - Roll back a global transaction
TXSETCOMMITRET - Set commit_return characteristic
TXSETTIMEOUT - Set transaction_timeout characteristic
TXSETTRANCTL - Set transaction_control characteristic