To access a TIBCO Object Service Broker table from your COBOL program you must add TIBCO Object Service Broker access statements. These statements are converted into valid COBOL statements by the TIBCO Object Service Broker preprocessor. This section provides an example of a COBOL program coded with TIBCO Object Service Broker access statements and the associated TIBCO Object Service Broker table definition. It also explains the statements you require for your program. For information on coding SQL statements in a COBOL program, refer to
Chapter 22, Coding SQL Access Statements.
The following sample shows a COBOL program containing TIBCO Object Service Broker access statements. The following conventions are used in the example:
The following definition is of the table #ED_EMPLOYEES. This is the TIBCO Object Service Broker table used by the COBOL program with embedded TIBCO Object Service Broker access statements. (Only the first 80 columns are shown.)