View previous topic :: View next topic |
Author |
Message |
tattva Beginner
Joined: 02 Feb 2005 Posts: 97 Topics: 36
|
Posted: Wed Aug 10, 2005 2:40 am Post subject: Notify when a Production job runs |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Wed Aug 10, 2005 9:42 am Post subject: |
|
|
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 |
|
 |
Phantom Data Mgmt Moderator

Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Thu Aug 11, 2005 4:22 am Post subject: |
|
|
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 |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Thu Aug 11, 2005 5:01 am Post subject: |
|
|
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 |
|
 |
Phantom Data Mgmt Moderator

Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Thu Aug 11, 2005 7:08 am Post subject: |
|
|
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 |
|
 |
tattva Beginner
Joined: 02 Feb 2005 Posts: 97 Topics: 36
|
Posted: Mon Aug 15, 2005 10:01 pm Post subject: |
|
|
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 |
|
 |
Phantom Data Mgmt Moderator

Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Tue Aug 16, 2005 12:57 am Post subject: |
|
|
tattva,
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 |
|
 |
tattva Beginner
Joined: 02 Feb 2005 Posts: 97 Topics: 36
|
Posted: Tue Aug 16, 2005 3:39 am Post subject: |
|
|
Phantom,
Thanks for the reply.
But everything is Latin and greek to me
Can you please explain the same in Layman terms.
Thanks,
tattva |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Tue Aug 16, 2005 7:52 am Post subject: |
|
|
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 |
|
 |
tattva Beginner
Joined: 02 Feb 2005 Posts: 97 Topics: 36
|
Posted: Thu Aug 18, 2005 6:04 am Post subject: |
|
|
Hi Superk,
Can you throw some more light on this.
Am sorry ,
am not able to get this working
huh !!
thanks,
tattva |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu Aug 18, 2005 7:56 am Post subject: |
|
|
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 |
|
 |
|
|