View previous topic :: View next topic |
Author |
Message |
mainfrae Beginner
Joined: 17 Feb 2006 Posts: 17 Topics: 9
|
Posted: Wed Mar 22, 2006 11:30 am Post subject: TSO SEND command |
|
|
Hi
I want to send messages to particular userid(it may be around 20 or 30ids) through TSO SEND command.
I want to use this TSO SEND command in REXX.
Screen should be like this
**************************************
*this is from mainfrae *
* *
**************************************
I want to send this model screen through TSO SEND to the terminal for particular users using REXX.can any one guide me to do this
THANKS
MAINFRAE |
|
Back to top |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
|
Back to top |
|
 |
mainfrae Beginner
Joined: 17 Feb 2006 Posts: 17 Topics: 9
|
Posted: Wed Mar 22, 2006 1:13 pm Post subject: TSO SEND COMMAND |
|
|
Hi Superk
I am very clear that i want to use TSO SEND COMMAND only.But I want the screen to be seen like below (which includes the flower box also)
************************
* message to be displayed *
************************
using TSO SEND Command to some particular userid's using REXX |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Wed Mar 22, 2006 1:43 pm Post subject: |
|
|
Use 3 separate SEND commands and see the Copies() and left() or center() functions in Rexx.
Also note that even with the flowerbox, SEND commands are very easy for users to miss because they come up unexpectedly and disappear as soon as the user presse enter. People who typeahead a lot (like me) usually miss them. Unfortunately, you can't do an unsoicited TGET to a terminal (SEND uses TPUT) so it is probably the best you can do. |
|
Back to top |
|
 |
taltyman JCL Forum Moderator

Joined: 02 Dec 2002 Posts: 310 Topics: 8 Location: Texas
|
Posted: Wed Mar 22, 2006 3:32 pm Post subject: |
|
|
I've got some very old rexx code and an ispf panel that eases the use of a multi-line tso send command. You can massage it to accomodate mutiple userids as well. I didn't write it and don't remember who did to give them the credit.
[code:1:290a8930a5]
/***************************** REXX ******************************/
/* */
/***************************** REXX ******************************/
'ALLOC F(SYSOUT) DA(*)'
'ALLOC F(SYSPRINT) DA(*)'
'ALLOC F(SYSUDUMP) DA(*)'
'ALLOC F(SYSDBOUT) DA(*)'
'ISPEXEC LIBDEF ISPPLIB DATASET ID('''your.panel.library''') STACK'
INIT:
/*********************************************************************/
/* */
/*********************************************************************/
'ISPEXEC DISPLAY PANEL(SENDPNL)'
/* */
/* CHECK TO SEE IF THE USER HIT PF3 TO END THE CLIST. */
/* IF YES, GO TO END OF CLIST TO EXIT */
/* */
DO WHILE (RC |
|
Back to top |
|
 |
mainfrae Beginner
Joined: 17 Feb 2006 Posts: 17 Topics: 9
|
Posted: Thu Mar 23, 2006 6:07 am Post subject: TSO SEND MESSAGE |
|
|
Thanks taltyman |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu Mar 23, 2006 6:12 am Post subject: |
|
|
I use this simple CLIST to send messages
Code: |
/* CONTROL MSG LIST CONLIST SYMLIST FLUSH
CONTROL NOMSG NOLIST NOCONLIST NOSYMLIST NOFLUSH
WRITENR USERID?
READ UID
CLEARSCR
SE ' ************************* ' U(&UID) LOGON NOWAIT
SE ' * MESSAGE FLOWER BOX * ' U(&UID) LOGON NOWAIT
SE ' ************************* ' U(&UID) LOGON NOWAIT
|
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
sriramla Beginner
Joined: 22 Feb 2003 Posts: 74 Topics: 1
|
Posted: Thu Mar 23, 2006 2:55 pm Post subject: |
|
|
Quote: |
SEND commands are very easy for users to miss because they come up unexpectedly and disappear as soon as the user presse enter. People who typeahead a lot (like me) usually miss them.
|
This is precisely the reason why I wrote this chat program.
http://www-128.ibm.com/developerworks/eserver/articles/sriramia_tso.html
It allows you to chat (only with 1 person at a time)..however you can see the messages in regular ISPF screen, can save it if you want etc..... |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Thu Mar 23, 2006 7:49 pm Post subject: |
|
|
A more robust version with a list of who is joined, multiple chats, serialization & maybe some other stuff is at www.sillysot.com/ftp if anyone is interested. I haven't looked at it in years and it should still be considered a toy. Oh and comments in the code??? Nahhh! |
|
Back to top |
|
 |
Martin Beginner

Joined: 20 Mar 2006 Posts: 133 Topics: 58
|
Posted: Wed Apr 05, 2006 3:49 pm Post subject: |
|
|
sriramla,
I tried running ur code..with noluck.. The control is going to save conversation.
Thanks,
Martin |
|
Back to top |
|
 |
sriramla Beginner
Joined: 22 Feb 2003 Posts: 74 Topics: 1
|
Posted: Wed Apr 05, 2006 7:49 pm Post subject: |
|
|
Remove the line ADDRESS ISPEXEC "CONTROL ERRORS RETURN" from the code and try. You will come to know what is the error. Post it here if you cannot resolve by yourself. |
|
Back to top |
|
 |
|
|