Hi

I'm not exactly sure about your scenario, but maybe this helps:

I'm getting data from a host plattform, which eventually has to be imported
into an Oracle DB running on Win2k. We take the flat files (containing host
specific EBCDIC character data including CRLFs) and move them via binary
mode FTP over to windows. Then, I use a fix length sqlldr ctl file to import
the data, including the CRLFs as character data. That works.
Since you said you already checked the data with a hex editor, I assume,
that 0A 0D is what you want in the database and that 0A 0D is already in the
files you are trying to import ?! Is this the case ?
I also don't know wether you could work with fix length or not. 
How did you transfer the files ? Do the files get converted while transfered
? Some tools, like EMC infomover for example, do that (Like EBCDIC -> ASCII
for example). 

Hope that was more help then confusion,
Stefan

-----Urspr�ngliche Nachricht-----
Von: Kitty Luo [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 14. November 2003 15:04
An: Multiple recipients of list ORACLE-L
Betreff: RE: LF and CR (chr(10)||chr(13)) problem


Peter,

Thanks for your input.

You misunderstood the problem. The point is the SAP needs that LF and CR
(chr(10) and chr(13)).

Of course, I used a hex editor to look at it, they are OK (0A and 0D).
That's why it is frustrate.

Anybody who had a similar problem before, please help me.

Thanks,
Kitty

-----Original Message-----
Sent: Friday, November 14, 2003 7:20 AM
To: Multiple recipients of list ORACLE-L


Strip out the chr(10) and chr(13) using 

  update tname set field = replace(field,chr(13),' ')
  where instr(column_name,chr(13)) > 0 having count(*) > 0;'

BUT check whether you want to replace your chr(10) and chr(13) with a space(
' ') or nothing ('').
Use the above 'where' clause in a select to look for these non-printers
first.

Oh yes - don't judge data contents by what Notepad might show you. Use a hex
editor (or dump) if you really want to check.

peter
edinburgh


> -----Original Message-----
> From: Kitty Luo [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 14, 2003 4:59 AM
> To: Multiple recipients of list ORACLE-L
> Subject: LF and CR (chr(10)||chr(13)) problem
> 
> 
> 
> Hi,
> 
> Currently I am working on a project that requires me to 
> transfer "Customer Master Record"  data into SAP R/3 system 
> from my oracle database (9.2.0.4 running on Solaris 5.9). The 
> text file (contains LF and CR) generated by PLSQL or Oracle 
> reporter builder could not be loaded into the SAP database 
> (running on the same version of oracle database on W2K). It 
> breaks on the CR. However, when I open the text file by 
> notepad, do nothing, just simply save the file, re-run the 
> data load, then everything works fine. Does anyone know 
> anything about this? Please help.
> 
> Thanks in advance.
> 
> Kitty Luo
> Oracle DBA, OCP
> Onlane Inc.
> www.onlane.com
> [EMAIL PROTECTED]
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> -- 
> Author: Kitty Luo
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
> San Diego, California        -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> 


*********************************************************************
This  e-mail  message,  and  any  files  transmitted  with  it, are
confidential  and intended  solely for the  use of the  addressee. If
this message was not addressed to  you, you have received it in error
and any  copying,  distribution  or  other use  of any part  of it is
strictly prohibited. Any views or opinions presented are solely those
of the sender and do not necessarily represent  those of the British
Geological  Survey. The  security of e-mail  communication  cannot be
guaranteed and the BGS accepts no liability  for claims arising as a
result of the use of this medium to  transmit messages from or to the
BGS. .                            http://www.bgs.ac.uk
*********************************************************************

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Robson, Peter
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Kitty Luo
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Stefan Jahnke
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to