>>All of this with ONE single pass to read the input datasets (which are very very large sometimes).
Elardus, I just moved your existing SORT operator as a separate step to check for empty input. It is the same job you had. Thanks, Kolusu DFSORT Development IBM Corporation IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> wrote on 06/01/2017 12:48:44 AM: > From: Elardus Engelbrecht <elardus.engelbre...@sita.co.za> > To: IBM-MAIN@LISTSERV.UA.EDU > Date: 06/01/2017 12:49 AM > Subject: Re: DFSORT with empty outputs > Sent by: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> > > 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 > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN