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


Overview of when the SEND and OPERATOR SEND exits receive control

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

If a user issues the SEND command to send a message to only the console or the operator, SEND invokes only the initialization and termination exits. It does not invoke the SEND pre-display, pre-save, or failure exits.
  • The initialization exit receives control before SEND invokes the parse service routine to parse the command. The exit gets control if you are using user logs or the broadcast data set to store messages, that is, the value of EESCB_LOGNAME is either * (indicating the name of the current broadcast data set) or a user log name.

    If SEND cannot display or store the message after the initialization exit returns control, SEND invokes the termination exit and then completes processing. If the initialization exit returns with a return code of 12 or 16, SEND does not display or store the message. SEND invokes the termination exit and then completes processing.

  • If EESCB_LOGNAME in the copy of the control block is a user log name, the pre-display exit receives control. The exit receives control for each target user, unless the SEND command contains the SAVE operand. In this case, SEND does not invoke the pre-display exit.

    The exit receives control for each target user before SEND determines whether it can display the message to the target user. If the ALL operand is specified on the SEND subcommand of the OPERATOR command, the pre-display exit gets control only once. It does not get control for each target user.

  • The pre-save exit receives control if both of the following are true:
    • EESCB_LOGNAME in the copy of the control block is a user log name
    • SEND will store the message for the target user(s).

    The exit receives control for each target user before SEND opens the user log to store the message. If the ALL operand is specified on the SEND subcommand of the OPERATOR command, the pre-save exit gets control only once. It does not get control for each target user.

  • The failure exit receives control if EESCB_LOGNAME in the copy of the control block is a user log name. The exit receives control whenever SEND detects an I/O error on the user log when it is opening or closing the data set, or storing a message.
  • The termination exit receives control just before SEND completes processing. The exit gets control if you are using user logs or the broadcast data set to store messages, that is, the value of EESCB_LOGNAME is either * (indicating the name of the current broadcast data set) or a user log name.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014