The Next Generation of Distributed IBM CICS
Total Page:16
File Type:pdf, Size:1020Kb
Front cover The Next Generation of Distributed IBM CICS Raghavendran Srinivasan Janaki Sundar Prashanth Bhat Nageswararao V Gokavarapu Ashwini Deshpande Redbooks International Technical Support Organization The Next Generation of Distributed IBM CICS June 2015 SG24-7185-01 Note: Before using this information and the product it supports, read the information in “Notices” on page xi. Second Edition (June 2015) This edition applies to Version 6.0, Release 6.0, of TXSeries for Multiplatforms (product number 5724-B44). © Copyright International Business Machines Corporation 2006, 2015. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . xi Trademarks . xii IBM Redbooks promotions . xiii Preface . xv Authors . xvi Now you can become a published author, too . xviii Comments welcome. xviii Chapter 1. Introduction to IBM TXSeries for Multiplatforms . 1 1.1 Overview of TXSeries for Multiplatforms . 2 1.1.1 Basic view of TXSeries . 2 1.1.2 Practical uses . 2 1.1.3 Objective of this book . 3 1.1.4 Achieving the objective . 3 1.2 Introduction to distributed transaction processing . 3 1.3 Key features of TXSeries for Multiplatforms . 5 1.3.1 Enhanced platform coverage . 5 1.3.2 Improved operational efficiency . 6 1.3.3 Enhanced security. 7 1.3.4 Enhanced enterprise integration . 7 1.3.5 Serviceability enhancements . 8 1.3.6 Integration and connectivity . 8 1.3.7 Interoperability between CICS regions over TCP/IP . 9 1.3.8 Reliability, scalability, and availability . 10 1.3.9 System Resiliency. 10 1.4 Technical value of TXSeries for Multiplatforms . 11 1.5 Core components of TXSeries . 13 1.5.1 Entry-level CICS online transaction processing . 13 1.5.2 Integrated CICS Structured File Server . 13 1.6 Common TXSeries deployment scenarios . 14 1.6.1 TXSeries as a rapid deployment transactional integration server. 14 1.6.2 TXSeries as a transaction server . 18 1.7 Deployment, development, and administration choices . 25 1.7.1 Deployment choices . 25 1.7.2 Development choices . 28 1.7.3 Administration choices . 30 1.8 Conclusion. 33 © Copyright IBM Corp. 2006, 2015. All rights reserved. iii Chapter 2. IBM TXSeries environment . 35 2.1 TXSeries environment. 36 2.2 TXSeries region. 36 2.3 TXSeries clients . 37 2.4 File Manager . 38 2.5 Resource manager access . 39 2.6 Access to other CICS systems . 41 2.7 Conclusion. 45 Chapter 3. Developing distributed IBM CICS applications . 47 3.1 Preparation . 48 3.1.1 The CICS region . 48 3.2 Development environment for Windows . 48 3.2.1 Language environment . 48 3.2.2 Resource manager . 49 3.2.3 Client . 49 3.2.4 System configuration: Networking. 49 3.3 Development environment for UNIX . 50 3.3.1 Language environment . 50 3.3.2 Resource manager . 50 3.3.3 Client . 51 3.4 Client deployment models . 51 3.4.1 3270 terminals. 51 3.4.2 CICS Transaction Gateway. 52 3.4.3 Java clients . 54 3.4.4 Secured sessions for TCP/IP clients. 55 3.4.5 Telnet clients (TN3270). 60 3.4.6 IP socket clients . 65 3.5 Overview of resource managers . 67 3.5.1 Resource managers in a distributed transaction processing model . 67 3.5.2 XA environment versus non-XA environment . 68 3.5.3 The switch-load file . 68 3.5.4 Configuring WebSphere MQ . 69 3.5.5 WebSphere MQ and IBM COBOL . 72 3.5.6 WebSphere MQ and C . 74 3.5.7 WebSphere MQ triggers . 75 3.5.8 DB2 . 77 3.5.9 Oracle . 79 3.5.10 CICS on z/OS . 81 3.6 Object-oriented programming under TXSeries . 83 iv The Next Generation of Distributed IBM CICS 3.7 TXSeries server programming in Java . 83 3.7.1 Introduction . 83 3.7.2 TXSeries and Java virtual machine. 84 3.7.3 Performance considerations . 86 3.7.4 JCICS . 86 3.7.5 Exception handling . 88 3.7.6 Components involved . 88 3.7.7 JCICS class hierarchy. 89 3.7.8 Setting up CICS for running Java under TXSeries . 90 3.7.9 Problem determination . 101 3.7.10 Configuring JVM under TXSeries . 102 3.7.11 Debugging. 102 3.7.12 Hints and tips . 102 3.8 CICS server programming in C++ . 103 3.8.1 Introduction . ..