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 -> Re: SQLLDR: Record terminator question

Re: SQLLDR: Record terminator question

From: jcmon1 <jcmon1_at_aol.com>
Date: Thu, 01 May 2003 17:12:57 -0400
Message-ID: <3EB18DD9.EF643A80@aol.com>


Thanks. I had to create a small Unix/Perl script that would find and replace the logical end of record with a temporary character (semi-colon). Basically the script searches for 000"<LF> and replaces it with 000";<LF> as follows:

perl -pe 's/\x30\x30\x30\x22\x0a/\x30\x30\x30\x22\x3b\x0a/g' accthldrtmp.dat > temp1

Then I changed my Control file's termination character to search for the semi-colon/<LF> combination: "str X'3b0a'".

Not the neatest solution, but it works. Received on Thu May 01 2003 - 16:12:57 CDT

Original text of this message

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