Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> unnecessary linefeed

unnecessary linefeed

From: Hegyvari Krisztian <hegyvari_at_ardents.hu>
Date: 28 Sep 2004 23:12:11 -0700
Message-ID: <9003d46f.0409282212.7c17b041@posting.google.com>


Hello All,

I use utl_file to produce a "relative" file for UNIX. This file has to maintain the following characteristic:

The problem I first came across was that I had to close the file and re-open again with append after every 32768 bytes, otherwise Oracle sent me an exception when I wanted to close the file. This is not a problem. The problem is, that after every utl_file.fclose a linefeed is appended to the file. I use utl_file.put to write the data between fopen and fclose and I never send any linefeed out.

Any ideas how to change this? Currently I am seriously thinking to abandon utl_file and use Java to do the filewriting, the only pain being that the package is already ready and I am not a Java expert.

Running on 8.1.7.4 and 8.1.7.2

Cheers,

Hegyvari Krisztian

pls cc any answers to hegyvari_at_ardents.hu, if there is an answer I would be very happy to get it as soon as possible Received on Wed Sep 29 2004 - 01:12:11 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US