MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to create the BATCH JCL to get the info from $AVRS

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
bprasanna
Beginner


Joined: 05 Sep 2003
Posts: 119
Topics: 33
Location: Hyderabad

PostPosted: Fri Feb 25, 2005 10:56 am    Post subject: How to create the BATCH JCL to get the info from $AVRS Reply with quote

Hi All,
We are having $AVRS of SEA INC which will store the JOB info.If I use
'I' option against any job I will get the info like beow.
Code:


--------------------------- STEP INFORMATION ----------- LINE      1 OF     49
COMMAND ===>                                                  SCROLL ===> CUR 
 NAME: XXXXX    JOB20527    PGNAME: BILLXXX                                 
START: TUE 22 FEB 2005.053 22:25  FILES:    47 LINES:  201450 PAGES:    3549   
  END: TUE 22 FEB 2005.053 22:37  CLASS:     A  CODE: RC=0000  USER: XXXPUSR   
---- STEPNAME -- PROCSTEP -- CONDCODE ------ CPU TIME ---------- EXCPS --------
  1. CA07RMS     RMS@20      0000          0MIN 00.87SEC             0         
  2. PS010       PS005       0000          0MIN 16.47SEC        84,557         
  3. PS010       PS010       0000          0MIN 13.99SEC        64,155         
  4. PS010       PS012       0000          0MIN 01.14SEC        23,590         
  5. PS010       PS013       0000          0MIN 00.07SEC             4         
  6. PS010       PS014       0000          0MIN 00.23SEC           417         
  7. PS010       PS015       0000          0MIN 00.10SEC           281         
  8. PS010       PS020       0000          0MIN 00.13SEC             5         

I need prepate a report showing this info for all the jobs that ran on a particular day.Is there any JCL which will move the above info into a flat file for the jobs with a qualifier(dddd***) where dddd will be the user name.(Example jobs DDDJD001,DDDJD002 ETC..)

Thanks
Prasanna
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Fri Feb 25, 2005 11:49 am    Post subject: Reply with quote

bprasanna,

Please search before posting. This topic has been discussed earlier. Check this link

http://www.mvsforums.com/helpboards/viewtopic.php?t=2959&highlight=avrs

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bprasanna
Beginner


Joined: 05 Sep 2003
Posts: 119
Topics: 33
Location: Hyderabad

PostPosted: Sat Feb 26, 2005 2:01 am    Post subject: Reply with quote

Kolusu,
Thanks for the info.But I am not able to get the info to the out file if i use the above mentioned(from link) JCL.

Could you please tell me what will be correct PGM name to be used to get the information of JOB NAME,STEP NAME,CPU TIME etc..

There was program name $AVRDBRP whihc will print the details of

JOBNAME JOB NO. JOB START JOB END EXEC MINS. CPU TIME
etc..

Could you please give me the name of the PGM which will give the info of a job along with their step ?

The above program will print the details of total job steps,,,but I need the info on step basis.

Thank you again...
Prasanna
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Mon Feb 28, 2005 8:12 am    Post subject: Reply with quote

Quote:

Could you please give me the name of the PGM which will give the info of a job along with their step ?

bprasanna,

You need to parse the output using an utility/pgm from the batch jcl to strip just the step stastics

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group