Hi all,
Is it possible to send a message to a console using TSO TO command? I use
SEND command for the same.
Kindly advise.
Regards,
Suresh



On Jun 2, 2018 1:24 AM, "Sam Golob" <[email protected]> wrote:

Hi Folks,

    I hope that this message will be useful to a large number of people,
and will make communication between logged-on TSO users easier.

    We have just resurrected an old TSO command to conveniently send
messages to another TSO user.  The "TO" command is much easier to use than
the SEND command, and it sends the message via a TPUT to the other user's
ASID.  Syntax of the TO command is:

TO tsouser Unquoted message with any number of spaces

    The TO command (version on File 300 of the Updates page of
www.cbttape.org) has been updated to accept 8-character userids as the
destination for the message.

    In TSO READY mode (for which the command was originally designed), you
can include quotes in the message, and it will be sent as is.  Also, in TSO
READY mode, the message can and will remain, in mixed case.  However, ISPF
sometimes does tricks to TSO commands and messages, and some (but not all)
ISPF screens will uppercase the entire command before it is sent.  Also,
ISPF will usually demand an even number of quotes, which TO sends asis.  So
if you send the message under ISPF:

TSO TO userid It doesn't matter

then ISPF will demand an even number of quotes, and will not send the
message.  On the other hand, if you say:

TSO TO userid It doesn't matter '

then the message is sent asis, with the two quotes there, as coded.  And
the recipient will get the message as follows:

It doesn't matter '  IBMUSER

    This is just a peculiarity of ISPF and it doesn't have to do with the
coding of the TO command.

    I hope this will help people to communicate with other logged on TSO
users more easily.

    All the best of everything to all of you.

Sincerely,   Sam

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to