Running Applications and COBOL Sample Programs

You can run the provided COBOL sample programs to send and receive messages using TIBCO EMS.

Compiled versions of the COBOL sample programs are available in the library where the product was restored using RSTLICPGM. You may also compile the COBOL sample programs such that they are created in a development library of your choice by following the instructions in Compiling and Binding COBOL Samples.

The COBOL sample programs have been written simply by writing their output using the DISPLAY statement to the *EXT queue which in effect is writing to the job log. If you want to see this information for batch jobs, you must have access to the job log.

You can run the COBOL sample programs either from Qshell or from batch:

For samples that are executed from Qshell, you only see the output of the DISPLAY at the job end. If the job is written as a never-ending job, such as the consumer samples, you cannot see the output of the DISPLAY until the job ends.