IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Find the Starttime of the Job when they are executing


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vinay249

New User


Joined: 18 Apr 2007
Posts: 13
Location: Bangalore

PostPosted: Sun Nov 30, 2008 5:19 pm
Reply with quote

Hi,

I have a requirement to find the starttime of the jobs when they are executing because few jobs are taking longer time than useful and holding the database and more than 20 executes at the same time. It takes time to check each and every job start time.

For example.

If A, B, C and D are executing, I need the time of the jobs when they started exectuion.

Thanks!!
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sun Nov 30, 2008 5:27 pm
Reply with quote

Your request is a bit generic...
look at the console log (LOG) , sdsf status (ST) , Your scheduler facilities...

nothing more to tell until You clarify the process
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Sun Nov 30, 2008 5:46 pm
Reply with quote

A REXX with SDSF commands might be your answer. You can also run this REXX as a started task.

O.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sun Nov 30, 2008 8:18 pm
Reply with quote

SMF records are the easiest and most accurate source of information
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Sun Nov 30, 2008 10:39 pm
Reply with quote

Hello vinay,

Are you looking at jobs that are currently running or have the jobs run sometime in the past (hour, day, week)?

Looking in the spool (sdsf) may be quite hit-or-miss as the jobs in the spool are not constant. As Expat mentioned, SMF records have everything you need.

If you are trying to diagnose something in "real-time" then using sdsf will give you quick access to jobs still running.
Back to top
View user's profile Send private message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Wed Dec 03, 2008 12:18 am
Reply with quote

Hello Vinay,

I believe every project will have a scheduler, you can check with your project team for the scheduler.

If you browse through the scheduler you can filter the job as per your request and you can see the Job run stats.

If you have access to the reports (INFOPAC), i believe production control will generate reports (Job run stats) and long running job details in a report. You can even use these reports for your analysis.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts executing XCTL command in COBOL witho... CICS 10
No new posts Receiving RC 5 when executing REXX pr... CLIST & REXX 3
No new posts Find the occurrence of Key Field (Par... DFSORT/ICETOOL 6
Search our Forums:

Back to Top