The Message Handler sample on z/OS
The Message Handler sample TSO application allows you to browse, forward, and delete messages on a queue. The sample is available in C and COBOL.
Preparing and running the sample
Follow these steps:- Prepare the sample as described in Preparing sample applications for the TSO environment on z/OS.
- Tailor the CLIST (CSQ4RCH1) provided for the sample to define the location of the panels, the location of the message file, and the location of the load modules.
We can use CLIST CSQ4RCH1 to run both the C and the COBOL version of the sample. The supplied version of CSQ4RCH1 runs the C version, and contains instructions on the tailoring necessary for the COBOL version.
Note:- There are no sample queue definitions provided with the sample.
- VS COBOL II does not support multitasking with ISPF, so do not use the Message Handler sample application on both sides of a split screen. If you do, the results are unpredictable.
- Use the Message Handler sample on z/OS
- Design of the sample Message Handler sample on z/OS
This topic describes the design of each of the programs that make up the Message Handler sample application.
Parent topic: Use the sample programs for z/OS