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
 

 

Query regarding ESP Scheduler

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
Nitish_sharma

New User


Joined: 01 Dec 2009
Posts: 2
Location: Bangalore

PostPosted: Tue Aug 24, 2010 1:02 pm    Post subject: Query regarding ESP Scheduler
Reply with quote

Hi,

I am using abandon dependency to drop the dependency of predecessors at a specific time if the predecessors are not complete by then..


$Job A run daily rel(Job B)

Job B
Run daily
rel job c
Abandon dependencies 6:00
End job

Now the Job C will get released either when Job completes before 6 or if the job B doesn't completes by 5:59 , Abandon dependency will ensure that job C will be release at 6:00 even if Job A,B is not complete..Since it will drop the dependency (which is Job A) on Job B at 6.


Now, my requirement is to trigger an email job only when dependency is dropped at 6.. If the Job C completes without dependency getting dropped before 6 then the email job should not get triggered..

Kindly let me know which caluse shall i use?

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

alan_blore

New User


Joined: 01 Aug 2007
Posts: 50
Location: Hosur

PostPosted: Thu Sep 02, 2010 3:03 am    Post subject:
Reply with quote

Hi Nitish,

ALERT's in ESP can do this for you.

I'm not if you are using ESP Work Station or a TSO console for this.

In case of ESP Work Station - you can find the NOTIFICATION tab in PROCESS.INPUT dialog when you right click on the job to mention the ALERT ID which will invoked when the job is overdue.

If in case of TSO console -
1. Use the NOTIFY statement in an ESP Application to identify when to
trigger the Alert.
2. Define the Alert with the ALERTDEF command.
3. Define the Event triggered by the Alert.

Sample -
"NOTIFY OVERDUE ALERT(ABC1)"
"ALERTDEF ADD ID(ABC1) EVENT(ESPP.MAILEVT)"
"EVENT ID(MAILEVT)"

Thanks
Palani
Back to top
View user's profile Send private message
alan_blore

New User


Joined: 01 Aug 2007
Posts: 50
Location: Hosur

PostPosted: Fri Sep 03, 2010 12:25 am    Post subject:
Reply with quote

Hi Nithish,

Try searching for NOTIFY in your ESP procedure/events library and try to reuse the same.

As per conventions, the events could be stored in ESP*.PROCLIB where * could be P,Q,M for Production, Test etc...

Thanks
Palani
Back to top
View user's profile Send private message
Nitish_sharma

New User


Joined: 01 Dec 2009
Posts: 2
Location: Bangalore

PostPosted: Thu Oct 14, 2010 10:35 am    Post subject:
Reply with quote

My ESP is in Mainframes TSO.

For removing dependency, have written below is the code-

$JOB DUMMY.3 RUN(DAILY) REL(DUMMY.8)

JOB DUMMY.8
RUN DAILY
RELEASE (DUMMY.4)
ABANDON DEPENDENCIES 06:00
ENDJOB

The above lines of code will ensure the JOB DUMMY.4 gets released at 6:00 even if DUMMY.3 doesn't completes by 6:00. Since, abandon clause will drop the dependency of DUMMY.3 on DUMMY.8 at 6:00.

Now, i want to trigger an email job(which will notify users that dependency has been dropped) only when dependency gets dropped at 6:00. This email job should not get triggered when DUMMY.3 releases DUMMY.4 normally before 6:00.

Like If DUMMY.3 is not complete and DUMMY.4 is complete at 6:01 then release email JOB

else if DUMMY.3 is complete and DUMMY.4 is complete before 6:01 then
DON'T release email JOB.

Can you help me like, How can i set up the condition for sending the alert or triggering an email job(which will notify users that dependency has been dropped whenever dependency gets dropped)?
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Omegamon for DB2 query ashek15 DB2 0 Wed Feb 15, 2017 11:25 am
No new posts Query on DB2 WLM stored procedures ashek15 DB2 8 Sun Feb 12, 2017 11:13 pm
No new posts GETMAIN/FREEMAIN query Suja.Sai CICS 9 Tue Jan 31, 2017 12:01 pm


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