View previous topic :: View next topic
|
Author |
Message |
RohithRaj
New User
Joined: 06 Aug 2008 Posts: 13 Location: Hyderabad
|
|
|
|
Hi,
I would like to know if I can capture the end time of a job (preferably the production job) from spool. Either from the held output queue or status queue. Or is there any other way to capture the end time of a job apart from having a step itslef inside the job. I have nearly 340+ jobs across different LPARs and I would like to run a single job at a schedule time to know the end time of all the jobs that ran that day.
Please let me know if anyone has any answers.
Thanks. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Discussed to death already, so here we go yet again.
The performance / capacity planning people at your company will almost certainly have the information readily available.
Please consult with them before reinventing the wheel
Also, I would be interested to know why you thought that this may be an ISPF related topic. |
|
Back to top |
|
|
RohithRaj
New User
Joined: 06 Aug 2008 Posts: 13 Location: Hyderabad
|
|
|
|
We are the capacity/performance tuning people in our shop.
We have implimented this- include a last step in every job to track its end time and date. But since this runs in our peak time and consuming a good amount of CPU time, we are thinking of implimen ting a single job that reads spool or SAR (CA View from CA) to cpature the end time of all listed jobs for that day in one instance.
This saved time as well as the processing steps.
So i wanted to know if there is a machanism to read the spool/SDSF to capture the end time.
Thanks |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
RohithRaj wrote: |
We are the capacity/performance tuning people in our shop. |
Are you seriously telling me that you have tagged hundreds of jobs with extra steps rather than use SMF data.
Wasn't your shop that invented the chocolate teapot was it ? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
We are the capacity/performance tuning people in our shop. |
did You/Your_group ever hear of smf
the usual/standard approach for such a task is to process smf data,
simple
effective
does not rely on third party interfaces
lots of samples around |
|
Back to top |
|
|
RohithRaj
New User
Joined: 06 Aug 2008 Posts: 13 Location: Hyderabad
|
|
|
|
We can read SMF data, that data gives me only yesterday's data. I want TODAY's/ current data at my/specific time.
Yes, we invented chocolate tea shop also!!! |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
what prevents You from processing today's smf data |
|
Back to top |
|
|
RohithRaj
New User
Joined: 06 Aug 2008 Posts: 13 Location: Hyderabad
|
|
|
|
See, by the time the SMF data is available or by the time the jobs process the SMF data, it will be around noon. I want to know the status of my jobs by 9am or 10 am ET. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
the smf data is available as soon as the buffers are written to disk
quoting from the SMF manual
Quote: |
The operator must not clear a data set that is being filled. If the operator attempts to clear the active SMF data set, the SMF dump program returns a code of X'08' in register 15.
The operator can, however, dump the active or alternate data set without clearing it. |
Quote: |
INDD(ddname,OPTIONS(data))
Describes the input data set, where ddname is the data
definition name (DDNAME) of the data set and data can be
any one of the following:
° DUMP indicates that the input data set is to be read
or copied without being reset.
° CLEAR indicates that the input data set is to be
reset and preformatted. The information on the data
set is not copied and therefore lost.
° ALL indicates both the DUMP and CLEAR options.
If INDD is not specified, the default is:
INDD(DUMPIN,OPTIONS(ALL)) |
|
|
Back to top |
|
|
|