You are previewing New Ways of Running IBM z/OS Batch Applications.
O'Reilly logo
New Ways of Running IBM z/OS Batch Applications

Book Description

Mainframe computers play a central role in the daily operations of many of the worlds largest corporations. Batch processing is still a fundamental, mission-critical component of the workloads that run on the mainframe and a large portion of the workload on IBM® z/OS® systems is processed in batch mode.

This IBM Redbooks® publication is the second volume in a series of four in which we describe new technologies introduced by IBM to facilitate the use of hybrid batch applications that combine the best aspects of Java and procedural programming languages such as COBOL. This volume specifically focuses on the z/OS batch runtime.

The audience for this book includes IT architects and application developers, with a focus on batch processing on the z/OS platform.

Please note that the additional material referenced in the text is not available from IBM.

Table of Contents

  1. Front cover
  2. Notices
    1. Trademarks
  3. Preface
    1. Authors
    2. Now you can become a published author, too!
    3. Comments welcome
    4. Stay connected to IBM Redbooks
  4. Chapter 1. Modernizing enterprise batch with hybrid Java/COBOL applications
    1. 1.1 What do we mean by a hybrid batch application
    2. 1.2 Procedural language or Java
      1. 1.2.1 Benefits of a procedural language
      2. 1.2.2 Benefits of Java
    3. 1.3 Why hybrid batch applications?
      1. 1.3.1 Skills
      2. 1.3.2 Reuse of code
      3. 1.3.3 Access to more functionality
      4. 1.3.4 Exploiting speciality engines
    4. 1.4 Transition considerations
      1. 1.4.1 Governance considerations
    5. 1.5 Introduction to z/OS batch runtime
  5. Chapter 2. What is z/OS Batch Runtime?
    1. 2.1 Topology
    2. 2.2 Usage and invocation
      1. 2.2.1 Invoking the primary application
      2. 2.2.2 Passing arguments
      3. 2.2.3 Viewing application and container output
      4. 2.2.4 Handling return codes and Java exceptions
      5. 2.2.5 Commit rollback services
      6. 2.2.6 Terminating managed applications
      7. 2.2.7 Sharing a DB2 connection
      8. 2.2.8 Binding COBOL
    3. 2.3 Required software
    4. 2.4 Invoking z/OS Batch Runtime
    5. 2.5 Restrictions
    6. 2.6 Design considerations
      1. 2.6.1 Dynamic SQL versus static SQL
      2. 2.6.2 Data recovery
      3. 2.6.3 JDBC Type 2
    7. 2.7 Migrating a hybrid COBOL/Java application
  6. Chapter 3. End-to-end development scenario
    1. 3.1 Software used in the scenario
    2. 3.2 Infrastructure setup
      1. 3.2.1 z/OS Batch Runtime verification
      2. 3.2.2 Java
    3. 3.3 Setting up the development environment
      1. 3.3.1 Connecting to z/OS from Rational Developer for System z
      2. 3.3.2 Creating the HFS directories
      3. 3.3.3 Creating the z/OS project and MVS and UNIX subprojects
      4. 3.3.4 Creating the DB2 QUERIES table
      5. 3.3.5 Creating sample data sets
    4. 3.4 Developing COBOL, Java, and JCL
      1. 3.4.1 Adding COBLOAN
      2. 3.4.2 Generating the JCL to compile, link, bind, and run COBLOAN
      3. 3.4.3 Creating the Java launcher and copying the JNI copybook
      4. 3.4.4 Creating the PdfCreator class
      5. 3.4.5 Compiling PdfCreator
      6. 3.4.6 Running COBLOAN in the container
      7. 3.4.7 Solution to reflect an exception in the return code
  7. Appendix A. Additional material
    1. Locating the Web material
    2. Using the Web material
  8. Related publications
    1. IBM Redbooks publications
    2. Other publications
    3. Online resources
    4. Help from IBM
  9. Back cover