Addressing OLTP Solutions with CICS: The Transaction Server ... - Ibm
Addressing OLTP Solutions with CICS: The Transaction Server ... - Ibm
Addressing OLTP Solutions with CICS: The Transaction Server ... - Ibm
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
equest could block or fail later in the protocol sequence. To free resources, an<br />
RM can complete its work heuristically (independent of direction from its TM).<br />
<strong>The</strong> heuristic decision can be prompted by administrative action or by<br />
completion of a parametric timeout interval.<br />
Heuristic decisions typically cannot depend on the knowledge of results at other<br />
RMs that TMs normally coordinate. When any RM makes a heuristic decision,<br />
the global transaction may fail to maintain global atomicity; one RM may commit<br />
its work while another rolls back its work. Such mixed-heuristic completion can<br />
leave shared resources in an inconsistent state. A TM can report a<br />
mixed-heuristic condition to its AP.<br />
Failures and Recovery: Recovery is a process of restoring shared resources to<br />
a consistent state after various types of failure. <strong>The</strong> X/Open DTP model makes<br />
these assumptions:<br />
• TMs and RMs have access to stable storage.<br />
• TMs initiate and control transaction recovery.<br />
• RMs provide for their own restart and recovery as directed by TMs.<br />
7.1.2 <strong>CICS</strong> for AIX and the X/Open DTP Model<br />
As a result of the implementation of the X/Open XA interface <strong>with</strong>in <strong>CICS</strong> for AIX<br />
the system administrator has to provide information about which databases are<br />
to be accessed. In this section we explain how that information is supplied and<br />
show how the XA interface is activated.<br />
7.1.2.1 Architecture<br />
Figure 26 shows the architecture of <strong>CICS</strong> for AIX Version 2.1.1 in relation to the<br />
X/Open DTP model.<br />
Figure 26. <strong>CICS</strong> for AIX and the X/Open DTP Model<br />
From Figure 26 you can see that an application program communicates <strong>with</strong> the<br />
transaction manager component through the EXEC <strong>CICS</strong> commands. <strong>The</strong><br />
program can also communicate <strong>with</strong> the resource manager, an RDBMS, using<br />
the EXEC SQL commands.<br />
Chapter 7. Interactions <strong>with</strong> the DB2 Family of Products 89