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

End time of a job info.


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
RohithRaj

New User


Joined: 06 Aug 2008
Posts: 13
Location: Hyderabad

PostPosted: Thu Jul 16, 2009 12:51 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Jul 16, 2009 12:57 pm
Reply with quote

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
View user's profile Send private message
RohithRaj

New User


Joined: 06 Aug 2008
Posts: 13
Location: Hyderabad

PostPosted: Thu Jul 16, 2009 1:02 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Jul 16, 2009 1:05 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Jul 16, 2009 1:06 pm
Reply with quote

Quote:
We are the capacity/performance tuning people in our shop.

icon_eek.gif
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
View user's profile Send private message
RohithRaj

New User


Joined: 06 Aug 2008
Posts: 13
Location: Hyderabad

PostPosted: Thu Jul 16, 2009 1:08 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Jul 16, 2009 1:10 pm
Reply with quote

what prevents You from processing today's smf data icon_question.gif
Back to top
View user's profile Send private message
RohithRaj

New User


Joined: 06 Aug 2008
Posts: 13
Location: Hyderabad

PostPosted: Thu Jul 16, 2009 1:12 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Jul 16, 2009 1:21 pm
Reply with quote

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
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts RC query -Time column CA Products 3
No new posts C Compile time time stamps Java & MQSeries 10
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts Insert system time/date (timestamp) u... DFSORT/ICETOOL 5
Search our Forums:

Back to Top