> My suggested solution is to change the SORTIT step to use IDCAMS, something > like: > > //COPYIT EXEC PGM=IDCAMS
I'm guessing that in your real job you want SORT to do more than simply copy the data. Why would you need the copy the data otherwise.... Keeping your SORT step you could rename the data set in the first step, so that the name HSM and the SORTIN DD are referring to do not match. //SYSTSIN DD * HSEND..... RENAME 'MAINT.TEMP.LIST' 'MAINT.TEMP.SORTIN' and change the DSN on the SORTIN accordingly. -- Peter Hunkeler ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
