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
 

 

End time of a job info.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: End time of a job info.
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: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 16, 2009 12:57 pm    Post subject:
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    Post subject: Reply to: End time of a job info.
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: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 16, 2009 1:05 pm    Post subject: Re: Reply to: End time of a job info.
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Thu Jul 16, 2009 1:06 pm    Post subject: Reply to: End time of a job info.
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    Post subject: Reply to: End time of a job info.
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Thu Jul 16, 2009 1:10 pm    Post subject: Reply to: End time of a job info.
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Thu Jul 16, 2009 1:21 pm    Post subject: Reply to: End time of a job info.
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    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 Need info with DBRC recovery ashek15 IMS DB/DC 0 Mon Jan 23, 2017 6:43 am
This topic is locked: you cannot edit posts or make replies. Full Time COBOL Software Development ... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:24 am
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 2 Thu Jan 19, 2017 1:31 am
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


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