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


SEND and OPERATOR SEND pre-save exits

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

The pre-save exit receives control before SEND stores the message in the user log. You can use the exit to change the name of the data set in which SEND stores the message by changing the EESCB_LOGNAME in the copy of the control block.

You can prevent SEND from storing the message by setting a return code of 4. For example, you may not want certain users to store messages. You may also want to perform your own file I/O. The exit can open the user log, store the message, close the user log, and then return control to SEND with a return code of 4.

You can use the SEND pre-save exits with the LISTBC pre-read exit to process the message. The SEND pre-save exit can change the message or add information to it and then the LISTBC pre-read exit can decode the added information. For example, the SEND pre-save exit can add sequence numbers to messages that SEND stores. The LISTBC pre-read exit can then sort the messages sequentially for retrieval. The SEND pre-save exit can compress the message before SEND stores it. The LISTBC pre-read exit can decompress the message before the message is displayed to the user.

You can also use the pre-save exit to:
  • Change the target user IDs so that SEND stores messages only for certain users
  • Return a different message to the SEND command (subcommand) processor using the "new SEND message" parameter entry (parameter entry 12)

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014