Page 1 of 1

sequential file properties

Posted: Thu Aug 25, 2011 10:18 am
by kennyapril
I used sequential file to capture the rejects using CSV format.

Is there any option in the properties of sequential file to not to create any file when there are no rejects.

As of now whether there are rejects or not files are being created.




Thanks

Posted: Thu Aug 25, 2011 10:30 am
by chulett
No, an output file is always created.

Posted: Thu Aug 25, 2011 10:45 am
by kommven
I got a similar situation and I used to count number of lines in file created to proceed, instead of checking for file presence.

Posted: Thu Aug 25, 2011 3:21 pm
by chulett
One option might be an after-job check that deletes the file if it is found to be empty.

Re: sequential file properties

Posted: Thu Aug 25, 2011 5:18 pm
by SURA
Hence it is the 0 byte file, it won't affect in any of the way.

Still of you dont want you need to handle it in your own logic.

DSUser