How to copy data from VSAM to PS ?



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Re: How to copy data from VSAM to PS ?

Postby steve-myers » Mon Sep 12, 2011 8:13 pm

Mongan is correct. For the most part I think RECFM=VB,LRECL=max record size+4 will work pretty well, though some might prefer RECFM=FB,LRECL=max record size.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: How to copy data from VSAM to PS ?

Postby mongan » Tue Sep 13, 2011 11:38 am

Chuckling. Is this going to be another thread where everybody has something to say except the poster himself. Has he disappeared? Does he check his thread? Abducted by Aliens (or maybe the CIA)? ;)
User avatar
mongan
 
Posts: 211
Joined: Tue Jan 11, 2011 8:32 pm
Has thanked: 1 time
Been thanked: 5 times

Re: How to copy data from VSAM to PS ?

Postby gauthamnagpur18 » Thu Sep 15, 2011 7:32 pm

Thanks all.

As dick scherrer told , i tried with sort . I got it . :D

//STEP1 EXEC PGM=SORT                                             
//SYSOUC DD *                                                     
//SORTIN DD DSN=TEST.AXX.CLUSTER,DISP=SHR   
//SORTOUT DD DSN=TEST.AXX.OUTPUT,                         
//           DISP=(,CATLG,DELETE),SPACE=(CYL,(5,5)),UNIT=SYSDA   
//SYSIN DD *                                                     
  OPTION COPY                                                     
/*                                                               

                                       

Thank you . :)
gauthamnagpur18
 
Posts: 93
Joined: Sat Oct 23, 2010 1:28 pm
Location: Chennai, India
Has thanked: 3 times
Been thanked: 3 times

Re: How to copy data from VSAM to PS ?

Postby dick scherrer » Thu Sep 15, 2011 11:33 pm

Good to hear it is working - thank you for letting us know and posting your solution :)

d
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Previous

Return to JCL

 


  • Related topics
    Replies
    Views
    Last post