Preparing the sample

The Mail Manager is provided in versions that run in two environments. The preparation that you must carry out before you run the application depends on the environment that you want to use.

Users can access mail queues and nickname queues from both TSO and CICS(R) so long as their sign-on user IDs are the same on each system.

Before you can send messages to another queue manager, you must set up a message channel to that queue manager. To do this, use the channel control function of WebSphere MQ, described in WebSphere MQ Intercommunication.

Preparing the sample for the TSO environment

Follow these steps:

  1. Prepare the sample as described in Preparing sample applications for the TSO environment.
  2. Tailor the CLIST provided for the sample to define:

    A separate CLIST is provided for each language version of the sample:

    For the COBOL version: CSQ4RVD1
    For the C version: CSQ4RCD1
  3. 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 you cannot use the Mail Manager sample application on both sides of a split screen. If you do, the results are unpredictable.