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


Chapter 23 Processing COBOL Programs : Running the Program

Running the Program
Steps Required
After compiling and link-editing your preprocessed code, placing it in the load library, and identifying the program to TIBCO Object Service Broker, complete the following tasks to execute the COBOL program:
1.
2.
 
Task A Create a rule to call the program
Using the ED edit rule option from the workbench, create a rule to call your program. For example, create the DEMO2 rule, to call the COBOL program named COBSQL:

 
DEMO2;
------------------------------------------------------------------------
-------------------------------------------------------------+----------
CALL COBSQL; | 1
------------------------------------------------------------------------

 
Task B Call the COBOL program
When the program is in an executable code load library, and you have made the appropriate entries in the ROUTINES and ARGUMENTS tables, you can:
   CALL COBSQL;
Run it from S6BTSO. The data set containing the external routine must be concatenated to the HRNEXTR DD name in the calling CLIST.
Refer to Chapter 4, TIBCO Object Service Broker Sessions Under z/OS Batch for information about S6BBATCH, and to Chapter 5, TIBCO Object Service Broker Sessions Under TSO for information about S6BTSO.
See Also
TIBCO Object Service Broker Programming in Rules about writing rules.

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