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

How to notify two or more persons when submitting a job


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 771
Location: Germany

PostPosted: Fri Dec 22, 2006 1:15 pm
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
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: 771
Location: Germany

PostPosted: Fri Dec 22, 2006 3:06 pm
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: 1448
Location: Chicago, IL

PostPosted: Sat Dec 23, 2006 12:36 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts submitting feedback for manuals All Other Mainframe Topics 3
No new posts JCL submitting JCL JCL & VSAM 6
This topic is locked: you cannot edit posts or make replies. ERROR WHILE SUBMITTING LOAD JOB JCL & VSAM 12
No new posts Can SYSIN errors be rectified without... JCL & VSAM 17
No new posts Comparing a PS & PDS, submitting ... JCL & VSAM 21
Search our Forums:

Back to Top