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

Copy SAR dump into a file thru a JCL


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

New User


Joined: 21 Mar 2007
Posts: 38
Location: US

PostPosted: Tue May 01, 2007 8:59 pm
Reply with quote

Hi,

I want to copy the SAR details into a file. Does anybody have any idea how it can be done?

Thanks!
Back to top
View user's profile Send private message
MFRASHEED

Active User


Joined: 14 Jun 2005
Posts: 186
Location: USA

PostPosted: Tue May 01, 2007 9:33 pm
Reply with quote

Try this:

Code:

//STEP1    EXEC PGM=SARBCH                             
//SYSUDUMP DD SYSOUT=*                                 
//SYSPRINT DD SYSOUT=*                                 
//SAROUT   DD DSN=DATASET.FOR.SAROUT,                 
//            DISP=(,CATLG,DELETE),UNIT=SYSDA                                   
//            SPACE=(CYL,(90,100),RLSE),               
//            DCB=(MODEL.DSCB1,BLKSIZE=0)             
//SYSIN    DD  *                                       
/DBASE NAME=TTT.VIEWXXXX                               
/PRINT ID=JOBNAME GEN=NNNNN SEQ=00001 DDNAME=SAROUT   
/*           


Replace TTT.VIEWXXXX with SAR file view name in your shop.
Replace GEN=NNNNN with Generation you want copied. Generation can be found in SAR view.
Back to top
View user's profile Send private message
gprerna

New User


Joined: 21 Mar 2007
Posts: 38
Location: US

PostPosted: Wed May 02, 2007 7:00 am
Reply with quote

Thanks!! 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 All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts IGYPG3178-I when compiling a pgm read... COBOL Programming 6
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts To Populate Trailer cnt in the file w... SYNCSORT 1
Search our Forums:


Back to Top