Preparing the Mail Manager sample on z/OS
The Mail Manager is provided in versions that run in two environments. The preparation that we must carry out before you run the application depends on the environment that we want to use.
Users can access mail queues and nickname queues from both TSO and CICS so long as their sign-on user IDs are the same on each system.
Before we can send messages to another queue manager, we must set up a message channel to that queue manager. To do this, use the channel control function of IBM MQ, described in Channel control function.
Preparing the sample for the TSO environment
Follow these steps:- Prepare the sample as described in Preparing sample applications for the TSO environment on z/OS.
- Tailor the CLIST provided for the sample to define:
- The location of the panels
- The location of the message file
- The location of the load modules
- The name of the queue manager that we want to use with the application
A separate CLIST is provided for each language version of the sample:
- For the COBOL version: CSQ4RVD1
- For the C version: CSQ4RCD1
- Ensure that the queues used by the application are available on the queue manager. (The queues are defined in CSQ4CVD.)
Note: VS COBOL II does not support multitasking with ISPF. This means that we cannot use the Mail Manager sample application on both sides of a split screen. If you do, the results are unpredictable. Parent topic: The Mail Manager sample on z/OS