to start with You have both an OPTION COPY and a SORT card
get rid of one of them.
Thanks so much for your reply. I removed the OPTION COPY
& replaced it with OPTION DYNALLOC
& the sort performed as expected by the TS.
If I do not put at least one of the OPTION commands, the job abends with U0189. I am wondering why, since, DYNALLOC & COPY perform two different functions & IMHO are definitely not interchangeable. I am trying to understand why is it mandatory to put at least one OPTION command in the card at my site.
Surprisingly, if you look at the manual at the location ftp://ftp.software.ibm.com/storage/dfsort/mvs/sorttrck.pdf
page no. - 47, a similar SORT job runs without any OPTION statement.