View previous topic :: View next topic
|
Author |
Message |
gileshpg
New User
Joined: 22 May 2008 Posts: 27 Location: Bangaluru
|
|
|
|
Hi,
Is there any way to get the SAR library that lists the entire jobs. My requirement is to get the job names which is in the SAR. I need to list out the jobs which ran. Is this available in any of the PDS or file?
Thanks. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
i often wonder why people post on the internet
questions
that can be easily answered by the person sitting next to them or a phone call away.
gileshpg,
PDS: SYS1.SAR.ALL.INFO will provide you with what you need. |
|
Back to top |
|
|
gileshpg
New User
Joined: 22 May 2008 Posts: 27 Location: Bangaluru
|
|
|
|
Hi Dick,
people post something when they struck up somewhere.
the PDS which you said is found on my system. I have lot of SYS.* dataset name in my system. Is anybody else have any other suggestions?
Thanks,
Gilesh |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
No-one at your site knows anything about SAR?
Did you look for the specific name and not find it, or just think that there are lots of datasets that could start like that, and it is tiring to think some more?
If you can't find the actual, and no-one there knows anything, did you try SYS1.SAR and see if there is anything likely? |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
Quote: |
Is there any way to get the SAR library that lists the entire jobs.
Is this available in any of the PDS or file? |
Hi,
SAR displays the data from its own database, which can be read only by using CA supplied utilities.(SARBCH is one such utility)
You can get the DB name from SAR screen as below,
Code: |
CA View ALL -- Primary Selection for WELLS.SARDB <-- (this thing right here) -----------------------------
Command ===>
Sysout ID ===> WELLS*
Select By ===> R (R, I, IL, or IR)
Index Name ===> Value ===>
===> ===>
===> ===> |
Alternatively go to SDSF and look for SAR started task,
There maybe a JCL something similar to
PGM=SARSTC,PARM='WELLS.SARDB,&OPT'
WELLS.SARDB is the database name.
You would still need SARBCH or any other similar program to read the DB
Hope it helps. |
|
Back to top |
|
|
Ronny John
New User
Joined: 30 Mar 2010 Posts: 33 Location: USA
|
|
|
|
Gilesh,
Try running SARBCH job with teh step below
Code: |
//STEP1 EXEC PGM=SARBCH
//SYSUDUMP DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//REPORT DD DSN=TEST.RON.DATASET,
// DISP=(MOD,CATLG,DELETE),
// DCB=(BLKSIZE=0,LRECL=152,RECFM=FB),
// SPACE=(CYL,(1,1),RLSE),UNIT=DISK
//SYSIN DD *
/DBASE NAME=XX.XXXXX.XX
/LIST ID=*
/*
//* |
|
|
Back to top |
|
|
gileshpg
New User
Joined: 22 May 2008 Posts: 27 Location: Bangaluru
|
|
|
|
Thanks Ronny...it is working |
|
Back to top |
|
|
|