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 to notify two or more persons when submitting a job

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

New User


Joined: 25 Jan 2006
Posts: 6

PostPosted: Fri Dec 22, 2006 12:41 pm    Post subject: How to notify two or more persons when submitting a job
Reply with quote

Hi all,

In JCLs we have a Keyword known as NOTIFY in order to inform a particular user about the running of the job. Is there any way by which a single job can notify more than one person at a time??????
Back to top
View user's profile Send private message

UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 743
Location: Germany

PostPosted: Fri Dec 22, 2006 1:15 pm    Post subject:
Reply with quote

Hi !

The notify parameter in JCL is for one userid. You could append a new
JobStep where you issue a TSO SEND command via IKJEFT01 to other UserId's.

Regards, UmeySan
Back to top
View user's profile Send private message
anvit
Warnings : 1

New User


Joined: 25 Jan 2006
Posts: 6

PostPosted: Fri Dec 22, 2006 1:37 pm    Post subject: Re: How to notify two or more persons when submitting a job
Reply with quote

I wasnt able to get the command basically. It wud be gr8 if you show an example. icon_biggrin.gif
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 743
Location: Germany

PostPosted: Fri Dec 22, 2006 3:06 pm    Post subject:
Reply with quote

Hi anvit !

Sorry, i'm not a work, so i have no complete example to copy here.
But if i'm not blockheaded, it's like:

//Step99 EXEC IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSTSIN DD *
SEND 'your message' USER(UserId-1)
SEND 'your message' USER(UserId-2)
SEND 'your message' USER(UserId-2)
/*

Regards, merry christmas an a happy new year
UmeySan
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Sat Dec 23, 2006 12:36 pm    Post subject: Re: How to notify two or more persons when submitting a job
Reply with quote

Anvit...

In case you are not familiar with this... Alongwith what Mr. UmeySan suggested, you might need to code two steps at the end of the job one for Successfull completion of the job and other for Not.
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
This topic is locked: you cannot edit posts or make replies. ERROR WHILE SUBMITTING LOAD JOB ANURADHA NEELAKANTAN JCL & VSAM 12 Thu Aug 25, 2016 11:50 am
No new posts Can SYSIN errors be rectified without... techie09 JCL & VSAM 17 Thu Oct 31, 2013 11:59 am
No new posts Comparing a PS & PDS, submitting ... Ani Shetty JCL & VSAM 21 Sat Jun 29, 2013 5:16 pm
No new posts specify region while submitting batch... Balaji Canabady JCL & VSAM 4 Wed Feb 29, 2012 5:00 pm
No new posts jcl error when submitting the same jo... nandeshwar JCL & VSAM 19 Tue Nov 30, 2010 12:26 pm


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