How many statements are after the 'EXIT'?
We have found (and complained to Cognos for years) a bug in PDL that it 'sucks up' approximately 15-20 lines in the job after the EXIT. Put 20 lines containing :COMMENT after the exit and then run the job . You'll only see a few of them in the listing. And it varies - some times it sucks up 10 lines, the next time 16, but 20 seems to be a safe number.
steve hammond
[log in to unmask]