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
 

 

Reports to keep track if JOB takes more time to complete

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
nartcr

New User


Joined: 06 Jun 2007
Posts: 73
Location: Chicago

PostPosted: Mon Jul 16, 2012 7:27 pm    Post subject: Reports to keep track if JOB takes more time to complete
Reply with quote

Hello,

I have a requirement to perform below action. At this point i do not know how to achieve this, but if you can point me in some direction that would be great. We use ZEKE for job scheduling, CICS for online processing,MQ as a communication channel between online and batch.

Say JOB1 is defined in ZEKE, and JOB1 takes more than 1 hour to complete execution ( when on an avg, it completes execution in 30 minutes ).

I want to develop something which would track any jobs taking more than a specified time in system. The idea is that, we should be knowing if there are any issues around JOB1 which would help us take corrective measures.

May be schedule a batch job, and run it every 15 minutes - this would check SDSF active jobs, gather the start time and check if it exceeds normal time limit? Is this doable?

My understanding is that CICS online region wouldnt be able to track the batch job details, however, i wasnt able to find anything which says ZEKE can communicate with CICS.

Any help is appreciated
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Jul 16, 2012 9:30 pm    Post subject:
Reply with quote

Hello,

For all of the jobs you want to track, create a file that has the jobname and the "bogey" time (how long is acceptable for a run).

You can run your tracker in real time for batch jobs by looking in the system and comparing current time running against the bogey.

You can also run the tracker against "yesterday's" smf data (you would need help frlom your system support people) for the jobnames in the file that has the jobnames and acceptable times.

Keep in mind that often when a job runs longer than expected it is because of something else in the system. Wall time is not a very reliable source for measuring. . .
Back to top
View user's profile Send private message
nartcr

New User


Joined: 06 Jun 2007
Posts: 73
Location: Chicago

PostPosted: Mon Jul 16, 2012 10:52 pm    Post subject:
Reply with quote

Thanks Dick,

Are you suggesting something like this -

Schedule batch job every 15 minutes - use some tool like EZACFM1 to capture only ACTIVE jobs, and record the start time, and compare it with bogey?

Is this my only option?

If a job runs in infinite loop, at present, we are manually monitoring it - I was looking for automating it. As far as SMF data goes, i would expect only after job/step completes execution the data goes in SMF.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Jul 16, 2012 11:00 pm    Post subject:
Reply with quote

Seems to me like another munch the resource project.

A job takes as long as a job takes, and with sufficient and applied testing should NEVER go into an infinite loop.

Get the basics right and you won't need to spend time and resource monitoring what should not happen.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Jul 16, 2012 11:16 pm    Post subject:
Reply with quote

wooden wheels and stone knives.

ZEKE is a rather sophisticated piece of software. It is not some
piece of homegrown BS that attempts to automate job submission.

From the ZEKE Website a few quotes:
Quote:
Presents all schedule information for every supported platform on a single screen and highlights all exceptions (abends, late jobs, etc.)
Quote:
Tracks jobs enterprise-wide, regardless of platform
it appears obvious that the TS has limited understanding of the system as a whole.
ZEKE has all the facts and figures at its command.
Suggest that the TS start by learning ZEKE's capabilities.

I would venture to guess that ZEKE is underutilized

another example of Mcillian's famous quote:
Quote:
could not fix your brakes, so I made your horn louder
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Jul 16, 2012 11:40 pm    Post subject:
Reply with quote

Hello,

Quote:
Is this my only option?

No, but choosing what to run/when to run it depends on just what you want to accomplish. . .

If all you want is a "snapshot" periodically, you can look at jobs currently running in the system.

If you want to track a job's performance over time, the current snapshot won't be of much use.

Suggest you work with your scheduling people and learn what might be available thru ZEKE.
Back to top
View user's profile Send private message
nartcr

New User


Joined: 06 Jun 2007
Posts: 73
Location: Chicago

PostPosted: Wed Jul 18, 2012 12:15 am    Post subject:
Reply with quote

Thanks.
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Produce Mainframe Dash Board Reports ... sdcarlson53 All Other Mainframe Topics 2 Thu Jan 05, 2017 11:01 pm
No new posts DD DUMMY & CPU TIME Nileshkul Testing & Performance analysis 16 Mon Dec 19, 2016 11:35 pm
This topic is locked: you cannot edit posts or make replies. Get a job submitted itself every time... arunsoods JCL & VSAM 3 Tue Nov 22, 2016 4:05 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am
This topic is locked: you cannot edit posts or make replies. Get correct date and time when curren... balaji81_k DB2 24 Fri Oct 14, 2016 10:40 pm


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