View previous topic :: View next topic
|
Author |
Message |
anvit Warnings : 1 New User
Joined: 25 Jan 2006 Posts: 6
|
|
|
|
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 |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
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 |
|
|
anvit Warnings : 1 New User
Joined: 25 Jan 2006 Posts: 6
|
|
|
|
I wasnt able to get the command basically. It wud be gr8 if you show an example. |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
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 |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
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 |
|
|
|