Problem with a character in an external table

I have Unix Sun OS 5.8
I received 1 file with data. The problem is that this file has a character ' ' in the end file then the charge has an error. The character in the end file is in hexadecimal: 0A, 1A.
Then I have an External table and I put the the clause LOAD WHEN (COMARC != ' ') but when I edit the external table I see LOAD WHEN (COMARC != '.').
And the last record with the ' ' character doesn’t filter.
Note: the character isn't a space ' '. It is the hexadecimal: 0A, 1A
What I have to put in the LOAD WHEN (COMARC != '??????????') to filter this character?

I put LOAD WHEN (COMARC != x'0A1A') but I receive the error:
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-00554: error encountered while parsing access parameters
KUP-01005: syntax error: found "single-quoted-string": expecting one of: "and, not, or, )"
KUP-01007: at line 3 column 26
ORA-06512: at "SYS.ORACLE_LOADER", line 14
ORA-06512: at line 1
If I put:
LOAD WHEN (COMARC != ' ') for example I don't received any error!
What happens?
Thanks!

Similar Messages

  • URGENT Problem with Greek Character from an Oracle database

    Hello, I am having a serious and urgent problem with the character settings of an oracle database (8.1.7). The database is sitting in a solaris unix server and when we run the env command we have the following in the NLS_LANG parameter: AMERICAN_AMERICA.WE8ISO8859P1 (I do not know if this is helpful). When I retrieve data from oracle database (through a VB.NET 2005 program)to a dataset I use a special font in order to see the greek characters (HELLASARIAL). But when I am trying to save these data to a TXT file the greek characters are like Chinese to us. I tried several encodings (System.Text.Encoding.GetEncoding(869)) but without success. Can someone tell me how to convert the oracle greek characters during the selection or during the saving to the TXT file?
    Please respond as fast as you can.
    Thanks in advance

    Here is the answer of the microsoft:
    I have the information that you have a VB.Net 2005 application connected to an Oracle database 8.1.7.4 hosted on a UNIX server.
    This database has the CharacterSet WE8ISO8859P1.
    When retrieving Greek characters from this database in the application, you cannot see them.
    Could you please send me a screenshot of these characters in the .Net application?
    Are they displayed as gibberish, or as inverted questions marks (?)?
    I already had similar cases with Hebrew characters hosted on an Oracle database.
    These characters were displayed as questions marks on the client side.
    This is due to the fact that System.Data.OracleClient is using the Server CharacterSet to display the characters.
    If your Greek characters are not stored in the WE8ISO8859P1 characterset, then they won’t display correctly on the client-side.
    This is different from OLEDB where you could interact on client side by modifying the NLS_LANG parameter in the registry HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0.
    The client NLS_LANG and the server CharacterSet had to match in order to correctly display the data, and avoid SQL*NET conversion.
    So there are two solutions to your case:
    - The first one is to create a new database using the P8 characterset. The Oracle .Net managed provider will so be able to use it and display the characters correctly.
    - The second one is to use the OLEDB.Net managed provider, and then use OLEDB for Oracle provider. OLEDB will take care of the client NLS_LANG registry parameter.
    Would it be possible to test your application against an Oracle database with WE8ISO8859P8 characterset?
    Would it be possible to test it with the OLEDB .Net managed provider, and after checking the NLS_LANG client registry parameter?

  • Problems with Click a row in the Table

    Dear All,
    I am new to Java GUI. I got some problems with clicking the row in a table.
    My table allows the user to delete some rows fromt the table. When the user click a row or some rows in my table, the delete button should be enabled. It does work in most of the time. But sometimes, even the row being hight lighted, the button is still not enabled.
    Do you have any idea for what can cause this problem?
    What I did is :
    1. add a mouse listener to the table
    _userTable.addMouseListener(new java.awt.event.MouseAdapter()
    public void mouseClicked(MouseEvent e)
    userList_mouseClicked(e);
    2. then, if the row being selected is > 0, I will enable my delete button.
    Can anybody help?
    Thanks!

    Dear All,
    I am getting problems with single selection in a table. Although I have set the selection model to single, if I select a row int the table and then depress Ctrl/Shift multiple rows are selected.
    The code for set single selection is :
    ListSelectionModel seleModel = myTable.getSelectionModel();
    seleModel.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    Any idea about this? Is this a bug in JAVA?
    Thanks!

  • Problem with a Toshiba PX1267E 320 external drive

    Hello all
    I have a problem with a Toshiba px1267e 320 external drive, when all was ok with it I would switch on and the blue led would come on and change blue /violet as it was found on my laptop, a small vibration could be felt if I handled the case indicating that the d/d motor was on.
    On that fateful morning I switched on did an explore in my computer and found no ext drive, checked the drive blue led on touched the case could detect no vibration, unclipped the drive from the case put my ear to it heard faint clicking.
    I removed device and connected to caddie, this time I could feel the motor going, connected to laptop, new hardware found did my computer explore and found no drive, checked device manager and found it so I uninstalled and reconnected usb with same result.
    I am not sure what do next.
    I had a word with computer shop if they could recover a while I wait they said at least a 6 hour job if possible (dont want to leave at shop)
    Bought me another western digital same model no and also new power supply to try swapping the electronics board just in case therein lies the fault /or possible us power/s but I am clutching at straws here.
    Any of you guys here got anything like this happen ? any suggestions?
    I am curious to know what they would try in the shop to recover although he said he couldn't guarantee results.
    I would welcome any helpful suggestions (not throw it in the bin)

    >I removed device and connected to caddie, this time I could feel the motor going, connected to laptop, new
    > hardware found did my computer explore and found no drive, checked device manager and found it so I
    >uninstalled and reconnected usb with same result.
    >I am not sure what do next.
    I think the external HDD is dead
    Maybe its a head crash this would explain the faint clicking and other noises
    Unfortunately, I such case you can do nothing

  • Problem with ownership/privileges of NEW external hard disk

    An external La Cie drive died on me this morning. I replaced it with a brand new one on which I copied all my files from a back-up. Everything went OK. I gave the new disk the exact same name than the one that had passed away and that was enough for QuarkXpress to figure out the correct location of images imported in various documents.
    I then stumbled upon an unexpected ownership/privileges problem with an European piece of software, Ragtime, that will not allow me to do anything but read a document, claiming that "I do not have sufficient privileges".
    I tried to grant myself such "privileges" in the Get Info window, but OS X refuses, stating once again that I do not have sufficient privileges to tinker with the system.
    I am all by myself, I am the owner/administrator of the machine and don't know what to do. I called Apple Care, but they claim that I'm not entitled to any help because a) the problem occurred with a disk not manufactured by Apple and b) the software I was using is not manufactured by Apple.
    Underprivileged
    G5   Mac OS X (10.4.7)  
    G5   Mac OS X (10.4.7)  

    Hi, okapulco. Welcome to the Discussions.
    I presume this is when using Ragtime in an attempt to work with documents on the new FireWire drive. I suspect your former LaCie drive had been set-up as follows:
    1. Open the Get Info window for the FireWire drive.
    2. In the Ownership & Permissons pane, select "Ignore ownership on this volume."
    3. Close the Get Info window.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • Adobe forms - problem with the character "9"

    I have the problem with printing Adobe forms that were introduced with Russian country version.
    Funny enough I have no problems with russian characters. They all print all right.
    We have however the problem with character "9". On the preview of the pdf it looks ok. When I print it from PDF preview it prints ok. But when I process it for sap to the HP output device (device type HPLJ4) "9" gets replaced with "<".
    Has anyone experienced this problem?

    ok, you're right. But, my problem is a little bit different :
    I would like to replace the "\n" character (new line) by the 2 characters "\n".
    I test this source code :
    String tmp = "First line\nSecond line";
    tmp.replaceAll("\n", "\u005C\u005Cn");
    System.out.println(tmp);
    tmp.replaceAll("\n", "\\n");
    System.out.println(tmp);
    tmp.replaceAll("\n", "\\\\n");
    System.out.println(tmp);
    The 3 results are the same :
    First line
    Second line
    I never have "First line\nSecond line".
    Best regards.
    K96
    PS : The objective is to write the string in a SQL request.

  • Problem with slash character in CONTAINS queries

    Hi there,
    i've got a problem with a CONTAINS query using Oracle Text.
    The following query works fine:
    select col1 from my_table_text where contains(text,'%02%')>0;
    When i'm trying the query
    select col1 from my_table_text where contains(text,'%02/%')>0;
    the following error occurs:
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-20000: Oracle Text error:
    DRG-50937: query too complex
    I didn't find anywhere that the slash has a special meaning (escape character or something else). This occurs only when the slash character is positioned immediately after or before the % operator. The search string '%0/2%' works.
    Oracle version: 9.2.0.1.0
    OS: Solaris 8 SPARC
    Maybe someone can help me.
    Thanks in advance,
    Chris

    Hi Chris,
    I think you want to search for all words having '02/'.
    Am I right? In that case try using '02//'
    Yes. '/' means escape character. So when it finds '/%' it tries to escape '%'.
    Hope this helps.
    Regards,
    Anupama

  • Instant Messenger has problem with disorder character

    Hi all,
    We have problem with some disorder character in IM.
    Actually it happens with the name of contact. We use Chinese version, all are ok except the name of the user, it's strange. We also find the codeset is UTF-8, but only name perform a disorder problem.
    Any idea? Thank u in advance.

    Update:
    Chinese words can be typed and display properly except the name of the speaker, just like MSN, in the content we can see:
    $&%& : hello, <some chinese words>
    @#$^&: hello, ...
    This is the problem.

  • I have a problem with X-Fi Elite Pro External Cons

    Hello there,?I have a problem with my X-Fi Elite Pro External Console, as it seems. I use X-Fi mainly for recording and it was working fine untill I reinstalled Windows. I downloaded the driver off the support page and while audio playing is working fine ; The PC doesn't seem to be recieving any signals when I plugin the guitar through the External Console ... I am not sure what might be causing this problem?and I am in?a desprate need of help. Please advise?Wael

    I'm having this exact same problem right now, I came looking for a solution and seemed to have found only people experiencing similiar problems. =[

  • PROBLEM with Importing video to an external drive

    I am unable to import video directly onto an external drive. Whilst the ext drive shows up fine in Finder, I do not get this option on the import drop down menu. Yesterday i spent an hour with the Genius guys in the Regent St Apple Store. They both said that they'd done this before, but were both unable to get it to work on their hardware. It appears it should work, but doesn't!! We tested on mac formatted ext drive so it wasn't a pc formatting issue with the drive.
    The guys at Apple said maybe it was a problem with a recent update to imovie which to me sound unlikely!
    I use the latest version of iMovie 09, Snow Leopard & a Mac book (2yrs old)
    Any ideas really appreciated
    Thanks in advance

    Several things are not officially supported by hardware and software manufacturers, but that does not prevent them from working very effectively. I have used LaCie firewire drives on many occasions on the same firewire bus as my DV source without any difficulty. I think that the settup that you propose will be potentially more problematic than using the same firewire bus. The reasoning for this opinion is that USB does not constant guarenteed bandwidth where firewire does. Theoretically speaking USB sould work under optimal conditions and there are some people using it, however I have heard of far more problems with the USB drives than firewire.
    Things to look for in an external firewire drive include an oxford 911 or better bridge board and a drive speed greater than 7200 RPM. I have used 5400 RPM drives without any problems, but others have had problems with these as well.
    Canon cameras have several quirks that have proved problematic when trying to integrate them as a source into video production settings. You may want to invest in a stand-alone deck or alternate brand camera to import your footage. This does not mean you can't try to use the Canon as a source. Several people do on a daily basis without difficulty. I would recommend trying what equipment is most easily availablr to you and determining what works best with your configuration.
    Reguards,
    Dave F

  • Problem trying to create and manage external tables

    Hello guys,
    I am having problems having created my external tables trying to select from them. I created the table thus:
    create table job_ext
    (job_id number(3),
    FUNCTION varchar2(30) )
    organization external (type oracle_datapump default directory test_dir
    access parameters (records delimited by newline fields delimited by "~" (job_id number(3) ,
    FUNCTION varchar2(30) ) )
    location ('testdump.lst')
    but on running select * from job_ext, I get the error
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-00554: error encountered while parsing access parameters
    KUP-01005: syntax error: found "identifier": expecting one of: "logfile, nologfile, version" etc..
    KUP-01008: the bad identifier was: records
    KUP-01007: at line 1 column 1
    ORA-06512: at "SYS.ORACLE_DATAPUMP", line 19
    ORA-06512: at line 1
    what am I not doing right.
    Secondly, I wish to ask if an directory object is created, will it be visible on the OS file system?? I am using Oracle 10g complete reference for study but it does not throw light on this.
    thanks

    Hi,
    It looks like you may need to grant permissions to the target directory.
    The ORA-29913 error can also happen in external tables when you don't grant read and write permissions to the directory:
    CREATE OR REPLACE DIRECTORY extdir AS '/u01/app/oracle./extdir';
    GRANT READ ON DIRECTORY extdir TO myowner;
    GRANT WRITE ON DIRECTORY extdir TO myowner;
    Also, see BUG 5172459 (MetaLink Note:373168.1)
    The problem is that the message file for external tables oin not the English version. These steps will address the issue:
    1. cd $ORACLE_HOME/rdbms/mesg
    2. cp KUP<lang>.msb KUP<lang>.msb.BAK
    3. cp kupus.msb KUP<lang>.msb
    http://www.dba-oracle.com/t_ora_29913_external_table_error.htm

  • Facing Many Problems About Creating Directory and an External Table

    Question:
    The weird thing is if you look at question 10-b in page 3-41, it says:
    (page 3-41 "Oracle Database 10g SQL Fund. II Vol.1")
    Merge the data in the EMP_DATA table created in the last lab into the data in the emp_hist table. Assume
    that the data in external EMP_DATA table matches the EMP_HIST table, update the email column
    of the EMP_HIST table to match the EMP_DATA table row. If a row in the EMP_DATA table does not
    match, insert into the EMP_HIST tables. Rows are considered matching when the employee's first and
    last name are identical.
    To me, this question is constructed wrongly. First of all in the last lab we have not been asked to create EMP_DATA. Secondly, EMP_DATA is empty.
    Thirdly, this question asks us to merge into EMP_HIST table while EMP_DATA is empty.
    EMP_HIST table currently has copied data from employees table. EMP_HIST structure:
    FIRST_NAME VARCHAR2(20)
    LAST_NAME NOT NULL VARCHAR2(25)
    EMAIL NOT NULL VARCHAR2(45)
    Anway, i did the merge as following:
    merge into emp_hist e
    using emp_data d
    on (e.first_name = d.first_name)
    when matched then
    update set
    e.last_name = d.last_name,
    e.email = d.email
    when not matched then
    insert values (d.first_name, d.last_name, d.email);
    I get this error:
    Error report:
    SQL Error: ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04040: file emp.dat in EMP_DIR not found
    ORA-06512: at "SYS.ORACLE_LOADER", line 19
    29913. 00000 - "error in executing %s callout"
    *Cause:    The execution of the specified callout caused an error.
    *Action:   Examine the error messages take appropriate action.
    On the other hand, i said let me try this:
    merge into emp_data d
    using emp_hist e
    on (d.first_name = e.first_name)
    when matched then
    update set
    d.last_name = e.last_name,
    d.email = e.email
    when not matched then
    insert values (e.first_name, e.last_name, e.email);
    I get this error because external table is final once its created as far as i know:
    Error report:
    SQL Error: ORA-30657: operation not supported on external organized table
    30657.0000 - "operation not supported on external organized table"
    *Cause:    User attempted on operation on an external table which is
    not supported.
    *Action:   Don't do that!
    I do not know what to do. I did my best, please help.
    Edited by: user11164565 on Jul 27, 2009 2:43 AM

    user11164565 wrote:
    NOTE: I did my best, i did all what i can do, but the problem persists. Please help
    I will mention all the steps i did clearly....
    I gave scott the following grants:
    grant create any directory to scott;
    grant read on directory emp_dir to scott;
    1. Created a directory and its been created successfully:
    create or replace directory emp_dir
    as 'F:\emp_dir';
    Then i did the following just to make sure my directory is recognized:
    SELECT *
    FROM dba_directories;
    I found the drive amongst the results...
    OWNER DIRECTORY_NAME
    DIRECTORY_PATH
    SYS EMP_DIR
    F:\emp_dir
    SYS SUBDIR
    D:\oracle\product\10.2.0\db_1\demo\schema\order_entry\/2002/Sep
    SYS XMLDIR
    D:\oracle\product\10.2.0\db_1\demo\schema\order_entry\
    2. I created an external table emp_data (the script is given by the text book): done successfully
    drop table emp_data;
    CREATE TABLE emp_data
    (first_name VARCHAR2(20)
    ,last_name VARCHAR2(20)
    , email VARCHAR2(30)
    ORGANIZATION EXTERNAL
    TYPE oracle_loader
    DEFAULT DIRECTORY emp_dir
    ACCESS PARAMETERS
    RECORDS DELIMITED BY NEWLINE CHARACTERSET US7ASCII
    NOBADFILE
    NOLOGFILE
    FIELDS
    ( first_name POSITION ( 1:20) CHAR
    , last_name POSITION (22:41) CHAR
    , email POSITION (43:72) CHAR )
    LOCATION ('emp.dat') ) ;
    3. I went to F:\ drive to see if emp_dir folder exist or not! I did not see it. I checked hidden files, nothing there. Anyway, i ignored it and did step 4.
    <snip>
    "Anyway, I ignored it . . . "
    and hence the rest of your problems. I did not see in the steps you recounted that you acually created a directory ("folder") named "\emp_dir" on your f: drive. Nothing you create within the database will actually create that directory on the OS. Createing a directory in Oracle, createing an external table in Oracle, will only create pointers to objects that Oracle will simply assume actually exists.

  • Playlist Problem With Turkish Character Set (Windows-1254 or ISO 8859-9)

    I'm using my x-fi 2 just for 2 week and sicked and tired it's problem. Now i have a problem with playlist. If my mp3 or m4a files or folder names have turkish character playlist's seems empty but i can find the files under albums and artist name sectors.
    My question is the any way to solve this problem. Folder names is not problem but file names i can not change all of them. Please help.

    meraba ankara yasiyorum.Sizinle mail araciliyla görüsmemiz mumkun mu?
    e_mail: [email protected]
    Bilgisayırıma 10g express edition yükledim .Bi de ODT for 10gXE (ADD-in) yükledim.Ama
    connect e basınca veritabanına .net den baglanamıyorum username yada password yanlis diyor.string name express edition icin nedir..net 2003 bilgisayarima yüklü.
    .net ve oracle kullanarak bir proje yapmak istiyorum.Yardimci olabilirmisiniz
    saygilar..

  • Problem with creating and deleting row in table

    Hi
    I'm using JDev11.1.1.2.0. I have a table "A" with primary key X -> CHAR(1). I have created Entity and ViewObject (with the primary key X).
    I created an editable Table with CreateInsert and Delete actions.
    When I click Insert, a new record is added and I enter some data. Then I move selection to some other row, and return back to the new row. When I press Delete, It does not delete the new row, but the previous one selected.
    In the console, when I navigate back two the new added record: <FacesCtrlHierBinding$FacesModel><makeCurrent> ADFv: No row found for rowKey: [oracle.jbo.Key[null ]].
    I tried the same scenario with a different table, that has RowID as a primary key and it works correctly.
    Any Idea why this is happening ? I suppose it's connected somehow with the primary key.
    Thanks
    agruev
    Edited by: a.gruev on Nov 26, 2009 9:47 AM

    I changed my entity: unchecked the X column to be primary key added RowID as a primary key. Now it works.
    What's wrong with my CHAR(1) as a primary key ?
    I also tried to add a Refresh button:
      <af:commandButton text="Refresh" id="cb3"/>and in the table add a partialTarget to the button. Now when I add new row and press the Refresh button - then it works.
    So it seems that the problem is when I add new row and enter data, the table is not refreshed and the row is missing it's primary key.
    Any solutions?
    Edited by: a.gruev on Nov 26, 2009 4:18 PM

  • Problem with Drag & Drop and multiselection in tables

    Hi,
    we have a problem concerning drag and drop and multiselection in tables. It is not possible to drag a multiselection of table rows, as the selection event is recognized or handled before the drag event. So before the drag starts, the selection will be changed and only a single row is selected at the position where you started the drag with a mouse click.
    There was also a java bug with the id 4521075 regarding this problem a couple of years ago. See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4521075.
    This bug has been resolved but in our application we have not enabled drag by setting setDragEnabled(true) on the table as we have an own implementation of a DragSource (which is the table component), and a DragGestureRecognizer to control mimetype and data to be dragged.
    So my question is: Is there any solution for this case without calling setDragEnabled(true) on the table? Or is it possible to enable drag on the table and override some method where the drag recognition happens and the transferable object is created?
    Thanks,

    Thanks for reply,
    Steps to reproduce the problem:
    1) user clicks the ascending sorting icon in the table(the button get disabled after sorting the table).
    2) After sorting user drag and drop some row over another row.
    3) Now the table is no longer sorted.
    4) If user again wants to sort the table now, he cannot do it because the sorting button is still disabled.
    So I want the user to sort the table again, without refreshing the page
    Thanks and Regards,
    Tarun

Maybe you are looking for

  • How many ipods, iphones can i install apps or movies?

    I have an iphone (3g) and a ipod Touch. I have same apps and movies purchased from itunes on both the iphone and ipod. I decided to give my ipod Touch to my girlfriend (since I don't use it as much). She wants to use it on her pc, so she will be buyi

  • Some Brushes are not working as expected

    I did Reset All Tools from the Tools Presets panel and Reset Brushes on Brushes Preset panel. But I still have the same problem. E.g. brushes from the "M Brushes" palette like crosshatch gesture and crosshatch don't have the look that they should acc

  • Value Scale not considered in Subsequent Settlement

    Hello experts, i am in SAP 4.6c and i am having a problem with scale values on vendor rebates. I have configured the system following the best practices of sap and setted an agreement based only on the vendor. Everything seems to work fine except tha

  • Applications will not open on iMac

    How to fix applications that will not open on an iMac?

  • Inventory movement

    hi i am implementing obia from e-biz supply chain management.i want to know what is meant inventory movement and from where it is coming regards mervin