View previous topic :: View next topic |
Author |
Message |
bprasanna Beginner
Joined: 05 Sep 2003 Posts: 119 Topics: 33 Location: Hyderabad
|
Posted: Fri Feb 25, 2005 10:56 am Post subject: How to create the BATCH JCL to get the info from $AVRS |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
bprasanna Beginner
Joined: 05 Sep 2003 Posts: 119 Topics: 33 Location: Hyderabad
|
Posted: Sat Feb 26, 2005 2:01 am Post subject: |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Mon Feb 28, 2005 8:12 am Post subject: |
|
|
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 |
|
 |
|
|