Design of the Mail Manager sample on z/OS

The following sections describe each of the programs that make up the Mail Manager sample application.

The relationships between the programs and the panels that the application uses is shown in Figure 1 for the TSO version, and Figure 2 for the CICS Transaction Server for z/OS version.

Figure 1. Programs and panels for the TSO versions of the Mail Manager. This figure shows the names for the COBOL version.
Figure 2. Programs and panels for the CICS version of the Mail Manager

  • Menu program on z/OS
    In the TSO environment, the menu program is invoked by the CLIST. In the CICS environment, the program is invoked by transaction MAIL.
  • Get-mail and display-message programs on z/OS
    In the TSO versions of the application, the get-mail and display-message functions are performed by the same program (CSQ4TVD2). In the CICS version of the application, these functions are performed by separate programs (CSQ4CVD2 and CSQ4CVD3).
  • Send-mail program on z/OS
    When the user has completed the Send Mail panel (CSQ4VDP4 for TSO, VD4 for CICS ), the send-mail program (CSQ4TVD4 for TSO, CSQ4CVD4 for CICS ) puts the message on the receiver's mail queue.
  • Nickname program on z/OS
    When the user defines a nickname, the nickname program (CSQ4TVD5 for TSO, CSQ4CVD5 for CICS ) creates a queue that has the nickname as part of its name.

Parent topic: The Mail Manager sample on z/OS