z/OS TSO/E Customization
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


SEND and OPERATOR SEND pre-display exits

z/OS TSO/E Customization
SA32-0976-00

The pre-display exit receives control before SEND displays the message to the target user. You can use a pre-display exit to format the message. For example, the exit can:
  • Add diagnostic information to the message, such as the name of an ISPF panel
  • Reformat the message to provide support for special features of certain output devices, such as graphics and recording attachments
The exit must not change the SEND message it receives (parameter entry 11). However, the exit can return a new SEND message to the SEND command (subcommand) processor. To return a new SEND message, the exit can:
  • Obtain storage for a new SEND message
  • Build the new SEND message
  • Update the key, length, and data fields for the new SEND message (parameter entry 12) as follows:
    Key
    X'02'
    Length
    the length of the new SEND message
    Data
    the address of the new SEND message
  • Set a return code of 0 and return to the SEND command (subcommand) processor.

The exit can display the message itself and set a return code of 4, which prevents the SEND command processor from displaying the message. It can also change the target user IDs so that SEND displays messages only for certain users.

Note: This exit does not change the target user IDs from one user to ALL users or from ALL users to one user. To change the target user IDs from ALL users or to ALL users, see the SEND subcommand of OPERATOR in .

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014