Page 2 of 2

Re: How to copy data from VSAM to PS ?

PostPosted: Mon Sep 12, 2011 8:13 pm
by steve-myers
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.

Re: How to copy data from VSAM to PS ?

PostPosted: Tue Sep 13, 2011 11:38 am
by mongan
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)? ;)

Re: How to copy data from VSAM to PS ?

PostPosted: Thu Sep 15, 2011 7:32 pm
by gauthamnagpur18
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 . :)

Re: How to copy data from VSAM to PS ?

PostPosted: Thu Sep 15, 2011 11:33 pm
by dick scherrer
Good to hear it is working - thank you for letting us know and posting your solution :)

d