Hi Dick! That is clear to me. Not specifying neither all code "(1,4,5)" nor DCB for output, DCB Input file sets the output. Important to me now is that code written first by Billy works. Spaces (40) that complete the record length are not a big problem for my requirement. Just would like to know how avoid that. Thanks!
Hi! Tue Jul 17, 2012 6:24 am Billy posted that I should change second clause "IFTHEN" to "IFTHEN=(WHEN=NONE" then I changed it and ran OK. And after that I posted the code and results. Thanks!
You have to understand how it looks to us. Even if nothing has changed with regard to what you have posted and you have posted nothing "extra", we are not in a position to know that, and can't reliably expect to be able to recreate from the bits and pieces you have supplied. And that, remember, is if everything is correct.
I can't think how you are getting 4227 records written, and couldn't from your original. I don't have Syncsort and can't experiment.
Please put together a post with the JCL used, the sort control cards, the output from the step and a sample input record(s) reflecting the problem, the output record from that and what output was expected.