Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 4 TIBCO Object Service Broker Sessions Under z/OS Batch : How to Run Batch Applications

How to Run Batch Applications
Invocation
Use TIBCO Object Service Broker batch clients when you want to run batch TIBCO Object Service Broker applications under JES2 or JES3 z/OS. You typically invoke the batch application as a job step using JCL. The batch client can be either the TIBCO Object Service Broker supplied batch client program S6BBATCH, or a batch program you wrote using the TIBCO Object Service Broker Call Level Interface.
Using the TIBCO Object Service Broker Supplied Batch Client Program
For a straightforward invocation of a batch application, use the S6BBATCH program supplied with TIBCO Object Service Broker. S6BBATCH starts a same-address space Execution Environment and runs the application as determined by the startup rule in the session.
When the application ends, the following events take place:
1.
2.
3.
Batch Client and the z/OS Environment
The following illustration shows how the TIBCO Object Service Broker batch client program fits into the z/OS environment:
Using A Customized (User) Batch Client
If you want to access TIBCO Object Service Broker facilities from within a batch COBOL or assembler application program, you can write your own batch client using the TIBCO Object Service Broker Call Level Interface. In this case, your batch client program uses calls to the TIBCO Object Service Broker Call Level Interface to start a same address space Execution Environment, start a session, start a transaction, and run one or more rules in that transaction environment. Your batch client program is responsible for terminating the transaction, session, and Execution Environment before returning to z/OS.
User Batch Client and the z/OS Environment
The following illustration shows how your user batch client program fits into the z/OS environment. Refer to Chapter 14, Introduction to the Call Level Interface to Chapter 17, Multiple-Session Execution Environments in Batch for detailed information on how to write a batch application using the Call Level Interface.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved