I have four VSAM files which are identical in terms of allocation and attributes. I want to sort all these VSAM files into a single flat file, basically just concatenating all the VSAM files.
I did look at several sites before posting it and tried out several things , nothing did work.
SORTIN DD DSN=VSAM1.FILE, DISP=SHR
DD DSN=VSAM2.FILE,DISP=SHR
DD DSN=VSAM3.FILE,DISP=SHR
DD DSN=VSAM4.FILE,DISP=SHR
SORTOUT DD DSN=FLAT.FILE,DISP=SHR
DD DSN=VSAM2.FILE,DISP=SHR
DD DSN=VSAM3.FILE,DISP=SHR
DD DSN=VSAM4.FILE,DISP=SHR
SORTOUT DD DSN=FLAT.FILE,DISP=SHR
I did try using
SORTIN01,SORTIN02,SORTIN03..
Request someone to kindly help me out.
Thanks,