MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Notify when a Production job runs

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
tattva
Beginner


Joined: 02 Feb 2005
Posts: 97
Topics: 36

PostPosted: Wed Aug 10, 2005 2:40 am    Post subject: Notify when a Production job runs Reply with quote

Hi all,

I would like to write an utility which will notify me when a specific Prod Job runs.

Can any one let me know how to go about it ?

Thanks,
Tattva
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Aug 10, 2005 9:42 am    Post subject: Reply with quote

tattva,


Why re-invent the wheel ? Add an email step to the job(last step) using SMTP. search the forum for "SMTP" and you will find many examples.

Hope this helps

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Thu Aug 11, 2005 4:22 am    Post subject: Reply with quote

Kolusu,

Quote:

Add an email step to the job(last step) using SMTP


Not sure whether he can change the already existing production job to add an SMTP step and whether he has the authorization to do so. Atleast I don't have the authorization. Is there any other way in that case.

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


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Thu Aug 11, 2005 5:01 am    Post subject: Reply with quote

Every major job scheduling system that I'm aware of has the built-in capability of generating an email upon completion of a job, a schedule, or other criteria.

In our shop, we use the BMC Mainview AutoOPERATOR console management product to trigger an event whenever a production job ends (or abends or is late in the schedule). The jobname is passed thorough a table and, if a match is found, the table supplies a value for notification email addresses. The types of notifications are determined by the Severity Level set for the job:

M (Milestones): the message of a successful completion is sent immediately.

1 (Severity Level 1): the message of an abend or late in schedule is sent immediately.

2 (Severity Level 2): the message of an abend or late in schedule is postponed for 30 minutes. If the job is re-started within the 30 minutes, then the notification is not sent.

3 (Severity Level 3): Same as 2, but the delay is for 2 hours.
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Thu Aug 11, 2005 7:08 am    Post subject: Reply with quote

tattva, could you please brief out the reason behind your requirement ? BMC or CA7 whatever it be. If you need this notification for personal purpose, I don't think you can do that.

Thanks,
Phantom
Back to top
View user's profile Send private message
tattva
Beginner


Joined: 02 Feb 2005
Posts: 97
Topics: 36

PostPosted: Mon Aug 15, 2005 10:01 pm    Post subject: Reply with quote

Hi all,

Phatom,

Sorry for the delay in responding.

Here's why :-

sometimes we need to submit some jobs(Not prod though) immediately after one of the PROD job starts and its a pain staking task to keep on monitoring that Job(PROD).

It would be great if any one can provide me with a solution to this.

Kolusu,

we Don't have the access to add steps to the existing PROD jobs.

Thanks,
tattva
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Tue Aug 16, 2005 12:57 am    Post subject: Reply with quote

tattva,

Quote:

Not prod though


If your job is a test region job (not your personal one), then you can probably set the job as a Dataset Trigger in whatever scheduler you have (CA7...). The scheduler will monitor for a particular dataset, probably the last dataset created by the production stream and once it gets catalogued, it kicks off your test job.

If your production and test environments run on two different systems, then you can probably schedule a Dummy job which NDMs a empty/dummy file from prod to test. You Dataset Trigger job will run once the dummy file reaches testplex. You need to schedule your dummy NDM transmission job after your production job. But you can do all these only if your job is NOT any personal job.

Thanks,
Phantom
Back to top
View user's profile Send private message
tattva
Beginner


Joined: 02 Feb 2005
Posts: 97
Topics: 36

PostPosted: Tue Aug 16, 2005 3:39 am    Post subject: Reply with quote

Phantom,

Thanks for the reply.

But everything is Latin and greek to me Crying or Very sad

Can you please explain the same in Layman terms.

Thanks,
tattva
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue Aug 16, 2005 4:13 am    Post subject: Reply with quote

tattva,

You can try the options listed in this topic .

http://mvsforums.com/helpboards/viewtopic.php?t=3823&highlight=control

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Tue Aug 16, 2005 7:52 am    Post subject: Reply with quote

tattva wrote:
It would be great if any one can provide me with a solution to this.

I thought I did. From what I can tell, using an automation tool to fire off from the 'IEF403I' console message from the start of the job would be the best and easiest-to-implement solution.
Back to top
View user's profile Send private message
tattva
Beginner


Joined: 02 Feb 2005
Posts: 97
Topics: 36

PostPosted: Thu Aug 18, 2005 6:04 am    Post subject: Reply with quote

Hi Superk,

Can you throw some more light on this.

Am sorry ,

am not able to get this working Crying or Very sad

huh !!

thanks,
tattva
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Aug 18, 2005 7:56 am    Post subject: Reply with quote

Quote:

Can you throw some more light on this.
Am sorry ,
am not able to get this working

tattva,

You need to let us know what you have tried and how it does not work. We can't just read your mind.

Also did you look into my post which is just 2 post above this post?

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group