If there are new records I don't want to retain the old records in the output 
file.  But if there are no new records I want the output file to retain the old 
records.




>________________________________
> From: Walt Farrell <walt.farr...@gmail.com>
>To: IBM-MAIN@bama.ua.edu 
>Sent: Thursday, April 19, 2012 4:30 PM
>Subject: Re: DFSORT, no records for SORTOUT
> 
>On Thu, 19 Apr 2012 10:22:56 -0700, Frank Swarbrick 
><frank.swarbr...@yahoo.com> wrote:
>
>>I know of the NULLOUT and NULLOFL options to specify return code setting if 
>>there are no records to be written to the output file.  I'm 
>>wondering if there is any option I can specify so that the SORTOUT file will 
>>not even be opened if there are no records to be written to 
>>it.  Basically, I want to leave the "old" records that were in SORTOUT alone 
>>if there is nothing new to go in to it for this run.
>
>Is there some reason you couldn't just use DISP=MOD on your SORTOUT DD 
>statement?
>
>-- 
>Walt
>
>----------------------------------------------------------------------
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
>
>
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN

Reply via email to