In the above JCL i need to include all the SORTOFxx files in a PDS and include that PDS here. My jcl will be having lots of outfil files. So need to give all those files inside a PDS and then refer those files thru that PDS.
For eg, the below lines alone should be stored in a PDS called Test.Pds
easy isn't it. you could even have used the "Code" button too,which is located on the top of the posting box.
Your SORTOFxx files show two different datasets being used rather than two members in a PDS or PDSE.
And of course, that oldest of questions - What have you tried yourself, where are the results and where do you need assistance. This is a HELP forum not a "Do it for me forum". Your previous posts always show you asking but never showing much useful information, or what you have tried yourself.