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

JCL to get the execution end time of jobs


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

Active User


Joined: 14 Dec 2008
Posts: 107
Location: India

PostPosted: Tue May 12, 2009 11:04 am
Reply with quote

Hi,
We are trying to automate a process wherein, I need to get the execution end time of 10 jobs. Now we are doing it manually by checking it in $AVRS. Can anyone please explain me how can i get execution end time of a job by running a JCL.

Thank you,
Ravi
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue May 12, 2009 11:14 am
Reply with quote

That all depends on which program the JCL processes.
Back to top
View user's profile Send private message
hiravibk
Warnings : 1

Active User


Joined: 14 Dec 2008
Posts: 107
Location: India

PostPosted: Tue May 12, 2009 1:44 pm
Reply with quote

Hi,

expat wrote:
That all depends on which program the JCL processes.


I am able to see the execution end time iof job A n $AVRS. Now, i want another jcl ,job B, which on submitting will give me the execution end time of job A. is there any program which can be called from JCL to extract $AVRS data, like SASSBSTR is used to extract CA 7 data.

Thank you
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Tue May 12, 2009 4:46 pm
Reply with quote

Have you looked at the $AVRS User's Manual? Have you spotted the $AVRPULL batch job yet? If not, I suggest you start reading.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue May 12, 2009 5:02 pm
Reply with quote

Just out of interest, having been in IT for 35 years, I have never felt the need to know at what time jobs have finished.

Would you mind explaining the reason behind your question.
Back to top
View user's profile Send private message
hiravibk
Warnings : 1

Active User


Joined: 14 Dec 2008
Posts: 107
Location: India

PostPosted: Tue May 12, 2009 5:26 pm
Reply with quote

expat wrote:
Just out of interest, having been in IT for 35 years, I have never felt the need to know at what time jobs have finished.

Would you mind explaining the reason behind your question.


We need to prepare a monthly report documenting the execution start and end time of certain repot generation jobs.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10886
Location: italy

PostPosted: Tue May 12, 2009 5:31 pm
Reply with quote

why not process the SMF records ???
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Tue May 12, 2009 5:32 pm
Reply with quote

MIPS, abominable snowmen, elapsed time, Sasquatch, looping batch jobs, Loch Ness monster -- mythological figures all.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue May 12, 2009 5:39 pm
Reply with quote

[rant on]

OK, here I go again.

Usually every site has a capacity and performance group, which will almost certainly already have all of the information that you need. That was certainly the case when I was responsible for perf & cap.

It would be much quicker for you to talk to them and see if
(a) They could actually produce the report for you as part of their daily routine
(b) They tell you where the information is stored

This type of report generation is almost always the reinvention of the wheel, with you duplicating the effort of another group to gather information that is already gathered and available.

And just think of the street cred when you tell your boss how quickly you sorted it out

[rant off]
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue May 12, 2009 5:40 pm
Reply with quote

you could check with the log that your scheduler produces.
Back to top
View user's profile Send private message
hiravibk
Warnings : 1

Active User


Joined: 14 Dec 2008
Posts: 107
Location: India

PostPosted: Tue May 12, 2009 6:09 pm
Reply with quote

Robert Sample wrote:
Have you looked at the $AVRS User's Manual? Have you spotted the $AVRPULL batch job yet? If not, I suggest you start reading.

I tried to get some guide for $AVRS, but could not find the user manual for $AVRS . Could you please send be the link where i can find $AVRS user manual?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Tue May 12, 2009 6:21 pm
Reply with quote

Your site support group should have downloaded and installed the manual as part of the $AVRS install, so contact them to find out where it is. Barring that, they can sign onto www.seasoft.com and get the manual from the vendor for you. The site does require registration before accessing the manuals, so you probably cannot do this directly.
Back to top
View user's profile Send private message
fayazbashask

New User


Joined: 28 Jun 2007
Posts: 9
Location: Hyderabad

PostPosted: Wed May 27, 2009 5:48 pm
Reply with quote

Hopefully you can check this with REXX code.
I suggest experts comments.
We have done some sort of automations using REXX, but not this type.
Hopefully we can do this as well.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Wed May 27, 2009 5:52 pm
Reply with quote

Fayaz, REXX code is not needed. $AVRS provides a batch job as part of their installation that does exactly what the o/p wanted. Why reinvent the wheel?
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed May 27, 2009 5:52 pm
Reply with quote

fayazbashask wrote:
Hopefully you can check this with REXX code.
I suggest experts comments.
We have done some sort of automations using REXX, but not this type.
Hopefully we can do this as well.

Sigh ......... another member of the wheel reinvention society.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10886
Location: italy

PostPosted: Wed May 27, 2009 5:54 pm
Reply with quote

Quote:
Hopefully you can check this with REXX code.
I suggest experts comments.


Your is the suggestion Yours are the comments icon_cool.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Wed May 27, 2009 5:54 pm
Reply with quote

expat, GMTA! icon_smile.gif
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 How to turn off 'ACTION' SDSF output ... TSO/ISPF 2
No new posts Finding and researching jobs All Other Mainframe Topics 0
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 How to create a list of SAR jobs with... CA Products 3
Search our Forums:

Back to Top