View previous topic :: View next topic
|
Author |
Message |
Sumit.GHosh
New User
Joined: 31 May 2006 Posts: 5
|
|
|
|
Hi,
I Need to Selectively view the SAR output based on some column names. Can you please tell me how to Specify the SAR INDEX and the value for that INDEX. I need it very urgently...
Thanks & Regards
Sumit. |
|
Back to top |
|
|
Sumit.GHosh
New User
Joined: 31 May 2006 Posts: 5
|
|
|
|
Actually the System Activity Report SAR which shows the logs of the Running jobs:
This is the screen which we reach by typing on the command line "=v.b.j"
-------------------------------------------------------------------------------------
SYSOUT ID ===> <JOBNAME> SELECT BY ===> R (R, I, IL, or IR)
INDEX NAME ===> VALUE ===>
SELECTION CRITERIA:
GENERATION ===> *
DATE ===>
SELECTION OPTIONS:
EXCEPTIONS ===>
PERMANENT ===>
-------------------------------------------------------------------------------------
Here we only give the <jobname> in "SYSOUT ID" and R in "SELECT BY". It shows all the job logs of the given <jobname>. However I need to view the selective list based on page count in the SAR list. Hence I feel that I need to Specify the "INDEX NAME" and "VALUE" property with "SELECT BY" as I/IR/IL. |
|
Back to top |
|
|
sril.krishy
Active User
Joined: 30 Jul 2005 Posts: 183 Location: hyderabad
|
|
|
|
Hi,
SAR is generally used to store the Reports kind of stuff in the mainframes.
Each job step is assigned a diffrent SAR id and using this ID ,we can view the reports or the o/p of the jobs for the defined period of time.
There are few BATCH JCL's which will be use ful to bring the o/p into a dataset if needed.
Thank you
Krishy |
|
Back to top |
|
|
Sumit.GHosh
New User
Joined: 31 May 2006 Posts: 5
|
|
|
|
Hi Krishy,
Actually I could get the sar output to a dataset but I could not get it based on some columns! So please post all the BATCH JCL's and please don't miss any.
While viewing the SAR I waned to get rows selectively! It can view all the reports not the selctive ones! Any idea on that?
Thanks,
Sumit |
|
Back to top |
|
|
Rameshs
New User
Joined: 15 Jun 2005 Posts: 53 Location: India, Chennai
|
|
|
|
Hi Sumit,
can you plz give me the JCL to get the sar output to a dataset ? |
|
Back to top |
|
|
Sumit.GHosh
New User
Joined: 31 May 2006 Posts: 5
|
|
|
|
Definately:
//STEP1 EXEC PGM=SARBCH
//SYSIN DD *
/DBASE NAME=POX.VIEWJCL
/LIST ID=**1,GEN=**2
//*
//REPORT DD DSN=**3, ...
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
**1=JOB-Name or abc* where it gives all the SAR outputs of JOBs starting with abc.
**2=or 0 or -1 or -2 or ...
**3=Your DSN name |
|
Back to top |
|
|
Sumit.GHosh
New User
Joined: 31 May 2006 Posts: 5
|
|
|
|
Hi Krishy,
Where did yo post the JCL I could not Find them!
Thanks,
Sumit |
|
Back to top |
|
|
|