View previous topic :: View next topic
|
Author |
Message |
hiravibk Warnings : 1 Active User
Joined: 14 Dec 2008 Posts: 107 Location: India
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
That all depends on which program the JCL processes. |
|
Back to top |
|
|
hiravibk Warnings : 1 Active User
Joined: 14 Dec 2008 Posts: 107 Location: India
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
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 |
|
|
hiravibk Warnings : 1 Active User
Joined: 14 Dec 2008 Posts: 107 Location: India
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
why not process the SMF records ??? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
MIPS, abominable snowmen, elapsed time, Sasquatch, looping batch jobs, Loch Ness monster -- mythological figures all. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
[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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
you could check with the log that your scheduler produces. |
|
Back to top |
|
|
hiravibk Warnings : 1 Active User
Joined: 14 Dec 2008 Posts: 107 Location: India
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
fayazbashask
New User
Joined: 28 Jun 2007 Posts: 9 Location: Hyderabad
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
Quote: |
Hopefully you can check this with REXX code.
I suggest experts comments. |
Your is the suggestion Yours are the comments |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
expat, GMTA! |
|
Back to top |
|
|
|