Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 21 Coding TIBCO Object Service Broker Access Statements : Overview

Overview
How to Access TIBCO Object Service Broker Data
You can access a TIBCO Object Service Broker table from a COBOL source program that contains embedded TIBCO Object Service Broker access statements or SQL statements. The COBOL program participates with TIBCO Object Service Broker as a client as opposed to a server as outlined in this manual.
If you have an existing COBOL program that accesses databases such as DB2, you can modify the program to access the TIBCO Object Service Broker database. If the COBOL program came as a package that normally accesses DB2 with SQL statements, you can use the program with a few modifications to access the TIBCO Object Service Broker database instead.
What if TIBCO Object Service Broker Table Access is Not Required?
If you want to use a COBOL program in TIBCO Object Service Broker that does not have to access TIBCO Object Service Broker tables, refer to Chapter 14, Introduction to the Call Level Interface to Chapter 17, Multiple-Session Execution Environments in Batch.
Steps Required
Accessing TIBCO Object Service Broker from a COBOL program requires the following tasks:
Samples Provided
Samples are provided showing COBOL programs with embedded TIBCO Object Service Broker and SQL access statements. The following table lists the samples that are shipped with TIBCO Object Service Broker in the COBOL and JCL data sets:
Preprocess the COBOL program that contains TIBCO Object Service Broker access statements, using the HLIPREPROCESSOR.
Preprocess the COBOL program that contains SQL access statements, using the HLIPREPROCESSOR.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved