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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How do I notify all users when I run a job?
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

Moderator Team Head


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

PostPosted: Wed May 11, 2005 4:20 am    Post subject: Re: How do I notify all users when I run a job?
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:

http://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    Post subject: Re: How do I notify all users when I run a job?
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    Post subject: Reply to: How do I notify all users when I run a job?
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    Post subject:
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    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 Free FILE not working for specific users sankalp-goyal CLIST & REXX 12 Mon Apr 25, 2016 6:33 pm
No new posts Find list of all TSO users who used i... newroad CA Products 2 Fri Nov 06, 2015 12:01 am
No new posts Pulling the list of all users in a PS... Kanishk Sinha TSO/ISPF 4 Thu Nov 27, 2014 11:47 am
No new posts Calling Stored Proc with out holding ... rexx77 DB2 6 Mon Nov 03, 2014 7:20 pm
No new posts Get the List of Users Using PD Tools Santty IBM Tools 2 Wed Feb 27, 2013 8:22 pm


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