IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How do I notify all users when I run a job?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vinayakaa

New User


Joined: 20 Mar 2005
Posts: 8
Location: Bangalore

PostPosted: Tue May 10, 2005 3:07 pm
Reply with quote

Hi,
Is there any parameter in the Notify so that ever user is notified about the job. I mean if we give Notify=&sysuid system notifies only the owner of the job, like that is there any way that every user is notified?

Thanks,
Raju
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed May 11, 2005 4:20 am
Reply with quote

If you look closely at the output of your jobs, you will notice that using the NOTIFY=&SYSUID parameter causes the job to invoke the SEND program at the end of the job.

You can also, at any point in the job you wish to, call the SEND program. It is available as a TSO command, i.e. "TSO SEND 'message' USER(userid1 userid2 etc.)". You can get all the details on using the SEND command by entering TSO HELP SEND. See also here:

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IKJ4C550/1.41?DT=20040721160158

Other options include generating SMTP message streams for email and/or text paging notifications.
Back to top
View user's profile Send private message
subhasis_50

Moderator


Joined: 09 Mar 2005
Posts: 363
Location: Earth

PostPosted: Mon May 16, 2005 1:22 pm
Reply with quote

Hi,
You can send this information to the other user by using the send command through your JCL. In the last step of your job u can code the following step
//STEP010 EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
SEND 'COMPILE OK' USER(user1,user2....) LOGON
/*

That will send the message to the user listed in the (), the step u can run as u need by giving cond parameter.
Thanks
Subhasis
Back to top
View user's profile Send private message
pradipta

New User


Joined: 10 Aug 2005
Posts: 2

PostPosted: Fri May 16, 2008 8:23 pm
Reply with quote

This sends the other listed user Message, COMPILE OK..however..what we are looking for is the NOTIFY message(message when the job finishes regarding condition code) to be shown(sent) to more than one listed user.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Fri May 16, 2008 9:04 pm
Reply with quote

With two SEND steps and IF/THEN/ELSE or COND CODE checks you could send messages for either zero or non-zero completion code. Anything more than this would probably be too complicated.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts IBM OnDemand Folders displaying to al... IBM Tools 6
No new posts VAGen Users IBM Tools 0
No new posts Copy a DS Member to multiple users at... TSO/ISPF 8
No new posts User key common area users - How to r... All Other Mainframe Topics 0
No new posts Free FILE not working for specific users CLIST & REXX 12
Search our Forums:

Back to Top