View previous topic :: View next topic
|
Author |
Message |
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi,
Using below code, I can send some message to a Maninframe user
Code: |
//HLQS JOB (@),'SEND MSG',
// MSGCLASS=R,CLASS=0,
// NOTIFY=HLQ
//*
//STEP010 EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
SEND 'I AM DON..!!' USER(HLQ) LOGON
//* |
But the message which 'pops-up' on the USER screen would be like
Is there any way I can remove HLQ from this message? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
I would say not,
"send" appends to the message text the "originator" of the message
could be a userid or a "CN(...)" console identifier |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi,
So some other way around is there..? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
What business reason is there to eliminate the originator id?
You could always send an e-mail from some non-existent account (in the batch job) instead of a tso message. . . Of course the recipient's filtering might just discard the message as spam. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi Dick,
This is for learning, no business reason behind.
Quote: |
filtering might just discard the message as spam |
This messages would pop-up on Mainframes screen, unless I mis-understood, do we have spam checker on mainframes as well? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hi Anuj,
Quote: |
This is for learning, no business reason behind. |
I believe the learning came from Enrico.
Quote: |
do we have spam checker on mainframes as well?
|
Mainframe e-mail systems (if anyone is still using one that talks to the outside world) could have a spam checker.
The originator id is not spam. TSO SEND is not part of the "mail" system. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi dick,
Well, I was thinking to play a prank with my collegue by sending him a 'pop-up' message, as if it was from system side..ummmm...seems can't do... .
I'm not trying to send 'mail' but a TSO MSG only. |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Anuj,
Did you try using the "TSO SEND" command?
Quote: |
Well, I was thinking to play a prank with my collegue by sending him a 'pop-up' message, as if it was from system side..ummmm...seems can't do... . |
You can do that. I dont remember the exact command and i guess that to be the TSO SEND command. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
Anuj D. wrote: |
Well, I was thinking to play a prank with my collegue by sending him a 'pop-up' message, as if it was from system side..ummmm...seems can't do... .
I'm not trying to send 'mail' but a TSO MSG only. |
Funny you should mention that....
Many years ago, a friend and I (I was watching, he was doing) copied the send executable into his PDS and hard coded the sender to always show ops as the sender.....I used it one too many times and got a reprimand in my HR file.....
Dis-assembling a load mod and editing it in a PDS shouldn't be (wasn't) that hard, give it a try....... |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
I used it one too many times and got a reprimand in my HR file.....
Dis-assembling a load mod and editing it in a PDS shouldn't be (wasn't) that hard, give it a try....... |
And make sure your resume is up to date. . . |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Aaru,
Aaru wrote: |
Did you try using the "TSO SEND" command? |
JCL posted in my first post is "TSO SEND" in batch or are you referring to something different; if yes, please suggest. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi,
CICS Guy wrote: |
... copied the send executable into his PDS and hard coded the sender to always show ops as the sender |
Perhaps I didn't get the direction yet, where to get the 'executable' of JCL.. .., I think even the question of mine is not appropriate, ah..yes I didn't get the 'message' of your suggestion, please suggest once again.
Quote: |
.....I used it one too many times and got a reprimand in my HR file..... |
heh heh...
Quote: |
And make sure your resume is up to date. . . |
follwoing your 'order' Sir.. |
|
Back to top |
|
|
|