Hello,
Why do you believe your code goes into an infinite loop?
I suspect it more likely that there is a Reply of some kind outstanding that has not been satisfied.
enrico-sorichetti wrote:thankx alot...your code is working. but, i am yet to find the error in mine.
should not be that difficult... did You read my comment about the EXTRA comma ???
BillyBoyo wrote:Is your input PDS(E) the same as your output PDS(E). If so, I'd not do that.
Actually, yes. You specify DISP=(NEW,CATLG) on your SORTOUT DD statement. What happens depends on whether the output data set is SMS managed or not.pearl wrote:[... Yes. Is it wrong to do so?