Sep 18, 2007 #1 Nits1212 Programmer Aug 16, 2007 34 IN Does anybody has JCL to convert VSAM file into Flat file. Please suggest.
Sep 19, 2007 #3 wed0c Programmer Mar 1, 2007 3 US this should be close //s01 exec pgm=IDCAMS //SYSPRINT DD SYSOUT=* //DD1 DSN=TEST.VSAM.DS,DISP=SHR //DD2 DSN=TEST.VSAM.SEQ,DISP=(,CATLG,DELETE), // UNIT=SYSDA,SPACE=(CYL,(1,1)), // DCB=RECFM=FB,LRECL=120,BLKSIZE=2400 //SYSIN DD * REPRO IFILE(DD1) OFILE(DD2) // Upvote 0 Downvote
this should be close //s01 exec pgm=IDCAMS //SYSPRINT DD SYSOUT=* //DD1 DSN=TEST.VSAM.DS,DISP=SHR //DD2 DSN=TEST.VSAM.SEQ,DISP=(,CATLG,DELETE), // UNIT=SYSDA,SPACE=(CYL,(1,1)), // DCB=RECFM=FB,LRECL=120,BLKSIZE=2400 //SYSIN DD * REPRO IFILE(DD1) OFILE(DD2) //
Sep 24, 2007 Thread starter #4 Nits1212 Programmer Aug 16, 2007 34 IN Thank you very much for your information. Upvote 0 Downvote
Sep 30, 2007 #5 slade Programmer Jun 11, 2000 823 US You can also use DFSORT or (I think) SYNCSORT. Just use their copy function with SORTIN/OUT DD cards defining your datasets. Regards, Jack. "A problem well stated is a problem half solved" -- Charles F. Kettering Upvote 0 Downvote
You can also use DFSORT or (I think) SYNCSORT. Just use their copy function with SORTIN/OUT DD cards defining your datasets. Regards, Jack. "A problem well stated is a problem half solved" -- Charles F. Kettering
Oct 1, 2007 #6 dchristensen IS-IT--Management Sep 22, 2002 74 US You can also use FileAID for this process and it will generate JCL you can save to repeat the process. Upvote 0 Downvote
You can also use FileAID for this process and it will generate JCL you can save to repeat the process.