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

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top