Gdg file is having members so I want to copy all the members from GDG to output PDS member using SORT utility.. can any one help me how to do it using sort?
I have tried few sort statements but still I am not getting expecting results
Gdg file is having members so I want to copy all the members from GDG to output PDS member using SORT utility.. can any one help me how to do it using sort?
I have tried few sort statements but still I am not getting expecting results
Share Improve this question asked Mar 12 at 7:49 user29967075user29967075 111 bronze badge 1- Please provide enough code so others can better understand or reproduce the problem. – Community Bot Commented Mar 12 at 8:41
1 Answer
Reset to default 1To read/ copy all entries of GDG just specify the GDG names (without the (+1) or .G0001V00 extension.
i.e.
//SORTIN DD DSN=MY.GDG,DISP=SHR
will pickup all the GDG entries like MY.GDG.G0001V00, MY.GDG.G0002V00 ....