Book description
Abstract
This IBM® Redbooks® publication covers the background and implementation of the IBM CICS® asynchronous API, which is a simple, accessible API that is designed to enable CICS application developers to create efficient asynchronous programs in all CICS-supported languages. Using the API, application developers can eliminate the overhead that is involved in coding and managing homegrown asynchronous solutions, instead using a set of CICS-supported API commands to underpin CICS applications, which are more responsive and robust than ever.
Initially, the book reviews the history and motivations of asynchronous processing in computing and the benefits involved when calling external services. It then introduces the asynchronous API itself and its commands. It also provides a range of scenarios, including sample code, that cover everything from the basics of making an asynchronous request to updating existing synchronous program calls, with the goal of illustrating how to harness the CICS asynchronous API to solve real business problems. Later chapters take a deeper dive into the capabilities of the asynchronous API for advanced use cases.
Beyond application development, CICS provides a complete solution for system programmers to manage and monitor asynchronous business logic. Thus, the final chapters of this book cover enhancements to CICS monitoring, statistics, trace, and dumps. Using supporting CICS tooling, system programmers have greater insight than ever, with improved transaction tracking capabilities and CICS policies to provide maximum control and optimization of asynchronous processing in CICS environments.
Table of contents
- Front cover
- Notices
- Preface
- Chapter 1. Introduction
- Chapter 2. The CICS asynchronous API
- Chapter 3. Extending applications while minimizing the impact to response time
- Chapter 4. Improving the response time of existing applications
- Chapter 5. Developing robust applications with unreliable service providers
- Chapter 6. Creating a Java-based controller in a mixed-language environment
-
Chapter 7. Tips and tricks
- 7.1 Trick: Reduce the management burden by running childrenunder a single transaction ID
-
7.2 Tip: Run existing COMMAREA-based assetsasynchronously without changing them
- 7.2.1 The PARENT program running two different children under child transaction ID ASCH passing COMMAREAs to each one
- 7.2.2 Using the ASYNCWP wrapper program to extract the PROGRAM target child from channel and linking to it with REQUEST-COMM COMMAREA
- 7.2.3 The CHILD1 and CHILD2 child programs running under the ASCH transaction
- 7.3 Tip: Release storage wisely in long-running parent transactions
- 7.4 Trick: Prevent sets of children from interfering in FETCH ANY logic by using FREE CHILD
- 7.5 Tip: Check the status of a child without blocking the parent by using the NOSUSPEND option
- 7.6 Trick: Process as many children as possible in a a fixed time period
- 7.7 Tip: Using response-only channels between parent and child transactions
-
Chapter 8. Debugging and problem determination
- 8.1 Using the CICS execution diagnostic facility: CEDF and CEDX
- 8.2 Asynchronous API abend code
- 8.3 Tracing asynchronous API applications
- 8.4 Sample application trace flow using FETCH ANY commands
- 8.5 Sample application trace flow using FETCH CHILD commands and the NOSUSPEND and TIMEOUT options
- 8.6 Sample application trace flow using FREE CHILD commands
- 8.7 Transaction dumps and the asynchronous API
- 8.8 System dumps and the asynchronous API
- Chapter 9. Performance and management for asynchronous API applications
- Chapter 10. System tracking of asynchronous applications
- Back cover
Product information
- Title: IBM CICS Asynchronous API: Concurrent Processing Made Simple
- Author(s):
- Release date: December 2017
- Publisher(s): IBM Redbooks
- ISBN: 9780738442921
You might also like
book
Walmart and the CICS Asynchronous API: An Adoption Experience
Abstract This IBM® Redbooks® publication discusses practical uses of the IBM CICS asynchronous API capability. It …
book
Using IBM CICS Transaction Server Channels and Containers
This IBM® Redbooks® publication describes the new channels and containers support in IBM Customer Information Control …
book
Using WebSphere Message Broker V8 in Mid-Market Environments
IBM WebSphere® Message Broker is a lightweight, advanced enterprise service bus (ESB) that provides a broad …
book
Modernizing Applications with IBM CICS
IBM® CICS® is a mixed language application server that runs on IBM Z®. Over the 50 …