Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Sending message in batch without RACF ID.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Apr 03, 2008 2:54 am    Post subject: Sending message in batch without RACF ID.
Reply with quote

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
Code:
I AM DON..!! HLQ
Is there any way I can remove HLQ from this message?
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10254
Location: italy

PostPosted: Thu Apr 03, 2008 3:33 am    Post subject: Reply to: Sending message in batch without RACF ID.
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Sun Apr 13, 2008 8:05 am    Post subject:
Reply with quote

Hi,

So some other way around is there..?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Apr 13, 2008 8:31 am    Post subject:
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Sun Apr 13, 2008 8:42 am    Post subject:
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Apr 13, 2008 8:59 am    Post subject:
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Sun Apr 13, 2008 1:33 pm    Post subject:
Reply with quote

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... icon_sad.gif .

I'm not trying to send 'mail' but a TSO MSG only.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Sun Apr 13, 2008 3:18 pm    Post subject: Reply to: Sending message in batch without RACF ID.
Reply with quote

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
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Sun Apr 13, 2008 7:01 pm    Post subject:
Reply with quote

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... icon_sad.gif .
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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Apr 13, 2008 9:49 pm    Post subject:
Reply with quote

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. . . icon_wink.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Apr 17, 2008 11:32 am    Post subject: Re: Reply to: Sending message in batch without RACF ID.
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Apr 17, 2008 11:56 am    Post subject:
Reply with quote

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.. icon_confused.gif .., 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... icon_biggrin.gif



Quote:
And make sure your resume is up to date. . .
follwoing your 'order' Sir.. icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts Liberty Angel Server using RACF Keyring martin9 CICS 0 Tue May 02, 2017 5:49 pm
No new posts HLIST Utility In Batch Virendra Shambharkar TSO/ISPF 4 Fri Apr 07, 2017 3:38 pm
No new posts Batch job tuning sgandhla Testing & Performance analysis 5 Fri Mar 24, 2017 9:41 pm
No new posts MIPS/CPU consumption reduction in Batch vishwakotin DFSORT/ICETOOL 4 Sat Mar 18, 2017 5:46 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us