Data Center.com

Transaction and database management on z/OS mainframe systems

By Robert Crawford

Soon after IBM introduced modern mainframes, it became apparent that the mainframe needed to interact with human operators and perform general business processing in real time. This required a different kind of processing involving short and fast units of work that interacted with a screen–called transaction processing.  A little later, someone added the idea of data integrity and atomic transactions to the feature set. IBM created two distinct types of transaction processors to meet these needs; the Customer Information Control System (CICS) and Information Management Systems/Transaction Manager (IMS/TM). To manage, protect and organize data, Information Management System/Database (IMS/DB) and DB2 were born.  This tip highlights the history and explains the advantages and disadvantages of these popular systems.

Customer Information Control System (CICS)
CICS began life in 1968 as a free online processing system targeted for utility companies. At first, it supported only Assembler programs, but IBM added COBOL and PL/1 a couple of years later. True to its Assembler roots, CICS’ original application programming interface (API) used macros, even for higher-level languages, which looked kind of weird. In the late '70s, IBM introduced the command-level interface, which gradually replaced the macro API. The command API remains the foundation of the product to this day.

Along the way, CICS added support for Virtual Storage Access Method (VSAM) datasets, then IMS and DB2 database management systems (DBMS). It grew in power and flexibility with features such as multi-region operation (MRO), function shipping and dynamic transaction routing. The 21st century saw CICS move into the Internet age with support for service-oriented architecture (SOA), event processing and various Web 2.0 features.

Today, CICS is the mainframe’s most popular transaction processor. It runs on mainframe systems in more than 90% of Fortune 500 companies, powering ATMs, green screens and webpages the world over.

CICS advantages:

CICS disadvantages:

Information Management System (IMS)
IBM co-designed IMS with Rockwell International in 1966 to track inventory for the Apollo space program. By 1968, IMS was up and taking online traffic on mainframe systems. After landing a man on the moon, IMS moved on to become the transaction processor of choice for IBM’s largest customers.

IMS/Database (IMS/DB) quickly became the first industrial-strength, full scale DBMS available in the world. Programs accessed the hierarchical databases with a simple call interface using Data Language One (DL/1 or DL/I, some people are still arguing about it). IMS/DB introduced fast-path database for even better performance. In the '80s, IMS added a DB2 interface, giving users a chance to use the best of both types of databases. Lastly, in the '90s, IMS was right there with the mainframe Parallel Sysplex, able to share databases in an IMSPlex.

IMS comes into the 21st century with support for SOA and TCP/IP. In addition to all the traditional mainframe languages, v10 added support for Java. Now it is poised for the future with Dynamic Resource Definition  and Common Service Layer  that presents a single system image in an IMSPlex.

IMS advantages:

IMS disadvantages:

DB2
In June 1970, Edgar Codd, an IBM employee, published a paper outlining the concept of relational databases. After some foot dragging, IBM developed the idea into System R, which was later released as DB2. DB2 was not the first relational database on the market, but it was new to big iron. IBM customers spent some time scratching their heads trying to figure out where it fit in mainframe systems already dominated by IMS/DB.

DB2 brought with it a new data language, Structured Query Language (SQL), which was already in common use. SQL provided a simpler, more intuitive interface that concentrated more on what the programmer wanted and less on how to get there. Mainframe users soon realized the productivity gains were worth the slight performance penalty inherent in relational databases.

Mainframe shops enthusiastically embraced DB2 through the late '80s and early '90s. In the meantime, IBM improved DB2 into a robust, scalable system that could handle ever increasing volumes of data. DB2 also had first day support for Parallel Sysplex with the ability to share data across LPARs.

Today, some form of DB2 runs on every major platform, from mainframe systems to Linux, Unix and Windows. DB2 also supports many of the new programming schemes, such as extensible markup language and stored procedures. Distributed data facility makes it easy for clients to get to mainframe data. In addition, every new release touts better performance and reliability, easily supporting billion-row tables.

DB2 advantages:

DB2 disadvantages:

About the expert: Robert Crawford has been a systems programmer for 29 years.  While specializing in CICS technical support he has also worked with VSAM, DB2, IMS and assorted other mainframe products.  He has programmed in Assembler, Rexx, C, C++, PL/1 and COBOL.  The latest phase in his career finds him an operations architect responsible for establishing mainframe strategy and direction for a large Insurance company. He lives and works with his family in south Texas.<

19 Jul 2011

All Rights Reserved, Copyright 2000 - 2024, TechTarget | Read our Privacy Statement