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

View the SAR output based on some column names


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Sumit.GHosh

New User


Joined: 31 May 2006
Posts: 5

PostPosted: Mon Jul 10, 2006 11:01 am
Reply with quote

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
View user's profile Send private message
Sumit.GHosh

New User


Joined: 31 May 2006
Posts: 5

PostPosted: Mon Jul 10, 2006 6:28 pm
Reply with quote

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
View user's profile Send private message
sril.krishy

Active User


Joined: 30 Jul 2005
Posts: 183
Location: hyderabad

PostPosted: Mon Jul 10, 2006 11:49 pm
Reply with quote

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
View user's profile Send private message
Sumit.GHosh

New User


Joined: 31 May 2006
Posts: 5

PostPosted: Tue Jul 11, 2006 10:04 am
Reply with quote

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
View user's profile Send private message
Rameshs

New User


Joined: 15 Jun 2005
Posts: 53
Location: India, Chennai

PostPosted: Tue Jul 11, 2006 12:55 pm
Reply with quote

Hi Sumit,

can you plz give me the JCL to get the sar output to a dataset ?
Back to top
View user's profile Send private message
Sumit.GHosh

New User


Joined: 31 May 2006
Posts: 5

PostPosted: Tue Jul 11, 2006 2:22 pm
Reply with quote

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
View user's profile Send private message
Sumit.GHosh

New User


Joined: 31 May 2006
Posts: 5

PostPosted: Wed Jul 12, 2006 10:47 am
Reply with quote

Hi Krishy,

Where did yo post the JCL I could not Find them!

Thanks,
Sumit
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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts How to load to DB2 with column level ... DB2 6
No new posts RC query -Time column CA Products 3
Search our Forums:

Back to Top