Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to get the SAR Library which lists the Job names

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
gileshpg

New User


Joined: 22 May 2008
Posts: 27
Location: Bangaluru

PostPosted: Mon Jun 11, 2012 2:35 pm    Post subject: How to get the SAR Library which lists the Job names
Reply with quote

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

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6970
Location: porcelain throne

PostPosted: Mon Jun 11, 2012 2:40 pm    Post subject:
Reply with quote

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

New User


Joined: 22 May 2008
Posts: 27
Location: Bangaluru

PostPosted: Mon Jun 11, 2012 2:53 pm    Post subject: Reply to: How to get the SAR Library which lists the Job nam
Reply with quote

Hi Dick,
people post something when they struck up somewhere. icon_smile.gif

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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7314

PostPosted: Mon Jun 11, 2012 2:56 pm    Post subject: Reply to: How to get the SAR Library which lists the Job nam
Reply with quote

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

Global Moderator


Joined: 28 Aug 2007
Posts: 1532
Location: Chennai

PostPosted: Mon Jun 11, 2012 2:59 pm    Post subject:
Reply with quote

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

New User


Joined: 30 Mar 2010
Posts: 33
Location: USA

PostPosted: Sat Jun 23, 2012 1:49 am    Post subject: Try running SARBCH
Reply with quote

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

New User


Joined: 22 May 2008
Posts: 27
Location: Bangaluru

PostPosted: Tue Jun 26, 2012 5:47 pm    Post subject: Reply to: How to get the SAR Library which lists the Job nam
Reply with quote

Thanks Ronny...it is working icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. How to save expanded jcl's into one l... enrico-sorichetti CLIST & REXX 13 Thu Jul 27, 2017 2:45 pm
No new posts RFE: DB2 support for mixed case names. Pedro DB2 0 Tue Jul 04, 2017 1:32 am
No new posts Variable for cursor names ravikumar15 DB2 5 Sun Jul 17, 2016 7:08 am
No new posts Using Field names in FILEAID Batch CO... Atul Banke Compuware & Other Tools 2 Wed Jun 29, 2016 9:54 pm
No new posts how to find clist's or view library Andrew Hsia CLIST & REXX 4 Tue Jun 28, 2016 6:07 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us