View previous topic :: View next topic
|
Author |
Message |
M Lee Klein
New User
Joined: 08 Feb 2022 Posts: 39 Location: USA
|
|
|
|
I've been tasked with capturing the run time for a specific list of jobs saved in a dataset on a regular basis.
I need to capture end time - start time for each job.
How would I go about doing that with jobs in EJES? Would it be best to insert a step in the jcl of each job to write details to a designated dataset?
Is Rexx or SAS the tool of choice? I'm the DBA so not sure what would be the best way to go about this.
MK |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2585 Location: Silicon Valley
|
|
|
|
I am not familiar with EJES.
My normal response would be to recommend using the rexx API for SDSF. You can get the job output and the first file should have start and stop times.
A separate option is to examine the system syslog and search for start and stop times of jobs.
Another option is to examine SMF records (probably type 30 records) for job start and stop times. |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 724 Location: Denmark
|
|
|
|
SMF records. If you have SAS then you probably also have MXG. Talk to your performance team, they should know and be able to give you an SAS/MXG extract job. |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1744 Location: Tirupur, India
|
|
|
|
I am certain your site performance team can get this info with little effort from SMF.
I belong to performance team and we get similar requests all the time.
Alternatively if the jobs are in Control-M, then there is a PROC called CTMRNSC which is located in Control M PROCLIB. It can get job run times for specifc jobs.
Code: |
//PROCLIB JCLLIB ORDER=(IOA PROCLIB)
// INCLUDE MEMBER=<IOASETUP_MEMBER>
//CTMRNSC EXEC CTMRNSC
//SYSIN DD *
INCLUDE JOBNAME SOMEJOB
REPSTART 2311101900
REPEND 2311151900
SORTBY STARTTIME
/*
//OUTPUT DD SYSOUT=* |
|
|
Back to top |
|
|
|