Sri h Kolusu wrote: >Here is a JCL which will give you the desired results. I rearrange your >INCLUDE conditions in the order of positions and it is easy to read and >Understand.
Many thanks for your kind help. After looking at your job, I see that the output datasets are primed first with 'nothing' and only conditionally overwritten if records were selected/found. All of this with ONE single pass to read the input datasets (which are very very large sometimes). Hmmm, I see NULLOUT=RC4. Time for me to do serious RTFM on that one. ;-) I will not use step STEP0100, because all my output datasets are temporary which only lives during the job. The contents are e-mailed out and also stored somewhere. Again, Sri, many many thanks for kindly helping me to SORT out this issue. Much appreciated. I will come back to IBM-MAIN and show how I did it. Groete / Greetings Elardus Engelbrecht ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN