ORA-28522 error when reading data from DB2 via hsodbc

Hi All,
I'm trying to connect to a DB2 database running on an AS/400 system, via Oracle HS.
I'm using Oracle 9.2.08. The DB2 version is V4R5.
My ODBC DSN is called TEST_odbc.
The initTEST_sid.ora file contains the following:
HS_FDS_CONNECT_INFO = TEST_odbc
My Listener.ora file contains the following:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = vm-dashboarddemo)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(PROGRAM = hsodbc)
(ORACLE_HOME = D:\oracle\ora92)
(SID_NAME = TEST_sid)
My TNSNames.ora file contains:
TEST_name =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = VM-DASHBOARDDEMO)(PORT = 1521))
(CONNECT_DATA =
(SID = TEST_sid)
(HS = OK)
When I use TNSPing, I get a successful result:
D:\oracle\ora92\bin>tnsping TEST_name
TNS Ping Utility for 32-bit Windows: Version 9.2.0.8.0 - Production on 04-JUL-20
07 13:46:47
Copyright (c) 1997, 2006, Oracle Corporation. All rights reserved.
Used parameter files:
D:\oracle\ora92\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = VM-DASHBOARDDEMO)(PORT = 1521))) (CONNECT_DATA = (SID = TEST_sid)) (HS =
OK))
OK (10 msec)
I can then login to SQLPlus as SYSDBA, and create a database link:
SQL> create database link TEST_link connect to "<username>" identified by "<password>" using 'TEST_name';
Database link created.
So far everything seems to be going well.
But then, when I try and select some data from the linked database, i get the following:
SQL> select * from <tablename>@TEST_link;
select * from <tablename>@TEST_link
ERROR at line 1:
ORA-00942: table or view does not exist
[Generic Connectivity Using ODBC][IBM][Client Access Express ODBC Driver
(32-bit)][DB2/400 SQL]SQL0204 - ZASTSE00 in QGPL type *FILE not found. (SQL
State: S0002; SQL Code: -204)
ORA-02063: preceding 2 lines from TEST_LINK
Does anyone have any ideas? I'd love to get this solved!!
Many Many Thanks,
River

I should have mentioned that I know that the table exists in the database.
The main reason I'm trying to do this is because I'm trying to get the data from the DB2 DB into my Oracle DB. I have been trying the EXP utility, which gives me a different error code:
D:\oracle\ora92\bin>exp <username>/<password>@TEST_name file=TEST.dmp rows=yes indexes=no
Export: Release 9.2.0.8.0 - Production on Wed Jul 4 13:44:06 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
EXP-00056: ORACLE error 3113 encountered
ORA-03113: end-of-file on communication channel
Username: <username>
Password:
Connected to: Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.8.0 - Production
Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
Note: indexes on tables will not be exported
About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user <username>
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user <username>
EXP-00008: ORACLE error 942 encountered
ORA-00942: table or view does not exist
EXP-00024: Export views not installed, please notify your DBA
EXP-00000: Export terminated unsuccessfully
Thanks Again,
Riv

Similar Messages

  • Error when reading data from socket

    Hi,
    I am getting the error 'NiRawReadError: An error occured when reading data from socket.' when using the ABAP API  'mo_core_service->invoke_matching'.
    And I get this error only when I pass ABAP_TRUE to the paramter 'iv_wait_for_invocation' .
    Can anybody help me in correcting this?

    Hi Narasa,
    The following error is already in discussion in the below forum.Plz consult the forum link you will find the error solution.
    Problem in ABAP API - NiRawReadError: error when reading data from socket
    Rgds
    Ankit

  • Error when reading data from XML using JAXB?

    Hi all,
    I get the error message when reading data from XML using JAXB.
    [org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference.]
         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException
    (AbstractUnmarshallerImpl.java:315)
         at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:481)
         at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:199)
         at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:168)
         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137)
         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:142)
    I don't find the reason, please help!
    Thanks in advance!

    The problem is sovled.

  • Error in reading data from InfoSet

    Hi Experts,
    I am facing the below errros when doing a selection to retraive data.
    @5C\QError@     Error when reading data from InfoSet Z40_2 (return code 1)      @5F\QNo long text exists@       17:56:24        A Preparatory Steps     1 Selection and Bundle Formation                        00000000000195819816    1       E       /BA1/F3_BASIS   6                               1       1
    @5C\QError@     Data transfer structures in EWLS object  do not match   @5F\QNo long text exists@       17:56:24        A Preparatory Steps     1 Selection and Bundle Formation                        00000000000195819816    2       E       /BA1/F3_EWLS    117                             1       2
    Please let us know  if any one knows why tehse erros apear and sloution for these.
    Please do the needful,'
    Thanks,'Mahesh

    thanks

  • Error in reading data from planning book

    Hi Guys,
    I am facing error in reading data from SNP planning book .
    When i try to read single product data for simulation version , it gets loaded correctly.
    However, when i try loading data for more than one product, then i get error "Product does not exist".
    I checked all products are assigned to model-version.
    I tried running consistency check as well and after it finished got message as "All inconsistencies can not be corrected".
    Please let me know if any one had faced this error.
    Thanks.

    Hi,
    Consistency check should solve the problem in this case. Try running it specifically on the version you are using. It should work.
    Regards,
    Guru Charan.

  • Activating DemoContent: Error when reading data target

    I'm trying to activate the SAP Demo cube <i>Purchasing Data</i> (0D_PU_C01). The Grouping Mode is set to <i>In Dataflow Before and Afterwards</i>.
    When I simulate installation, I get the error message <b>Error when reading data target 0D_PU_C01</b> (Message no. RSAU126) in the logs (although in the Collection Area the Simulation Result column is marked with a green check).
    I could find only 2 notes related to this error in the SAP Service Marketplace. SAP note nr. 540873 is about the BW indexing job. Note nr. 587796 (Error in after import of update rules) seams more appropriate, however not thoroughly right. In fact it refers to <b>BW 3.1 Content</b> or <b>BW 3.0B</b>.
    My system version instead is:
    BI_CONT 353
    SAP_BW 350
    The very same problem occurs when I try to activate the SAP Demo <i>Sales and Distribution</i>.
    Any suggestion?
    Thanks, Davide

    Ok, it worked! Now however I have some more doubts.
    1. I can't find the InfoObjects (e.g. 0D_GR_QTY, 0D_PLANT, 0D_MATERIAL, etc.) anywhere in <i>Modeling -> InfoObjects</i>, even if:
      a) I can find them under the <i>InfoSource</i> tree of the <i>SAP Demo</i> Application Component
      b) they appear activated in <i>Business Content</i>
    What's going on?
    2. The newly activated <i>Purchasing Data</i> cube has been added to the <i>Unassigned Nodes</i> InfoArea, and not to a newly created SAP Demo Purchasing (0D_MMPUR) InfoArea, similarly to the structure I saw when collecting the InfoProvider in Business Content. Is this the normal behaviour?
    3. No DataSource has been assigned to any of the InfoSources. I read at:
    http://help.sap.com/saphelp_erp2004/helpdata/en/43/57df37463a126ae10000009b38f842/content.htm
    that the <i>SAP Demo</i> Source System will be used. What I can't understand is if I need to manually create and select this Source System. I thought it would be automatically created and assigned during the Business Content's cube activation. This is not the case. What steps would I have needed to perform?
    Davide

  • JavaConsole Error: Problem reading data from server

    HI All
    We are getting this error on java console on a page:
      Error: Problem reading data from Server - Java.Security.AccessControlException:access denied (java.util.PropertyPermission http.strictpostredirect Read)
    In this page we are not firing  a SQL Query of huge data.
    Any suggestions on this why it is happening?
    Thanks
    Manisha

    Manisha,
    I think JVM(Java Virtual Machine) is trying to access something at network level and it cant able to find it.Or any new patches of java is installed.
    Or may be due to IIS or Applet,Don't know exactly.
    You can find some answers in below links:
    http://java.sun.com/j2se/1.4.2/docs/api/java/security/AccessControlException.html
    http://www.webdeveloper.com/forum/archive/index.php/t-46358.html
    -Suresh

  • Error in Reading data from a xml file in ESB

    Hi,
    i created a inbound file adapter service which reads data from a xml file and passes it to the routing service and from there updates to the database.....
    (everything created in jdeveloper)
    But i am getting error....it is not getting updated to the database...when i check the database(select * from table) its showing one row selected but i couldnt find the data....
    Transformation mapping also i did...
    i think may be some error in reading the data from the xml file but not so sure.....
    please reply to this mail as soon as possible its very urgent

    Michael R wrote:
    The target table will be created when you execute the interface, if you set the option on the flow tab as instructed in step #6 of the "Setting up ODI Constraint on CLIENT Datastore" Section.
    Option     Value
    CREATE_TARG_TABLE      trueHi Michel,
    This was not my required answer.I am sorry that I was unable to clarify my question.Actually
    +This project executed successfully with some warning.Target Table is automatically created in database and also populated with data.But when I right-click Target Datastore(in >Mapping Tab of the Interface), and then select Data to View Data that needs to be inserted in the target table.I get some error like this:-...+This above line is the result of my project my problem is
    when I right-click Target Datastore(in Mapping Tab of the Interface), and then select Data to View Data that already inserted in the target table.Is not shown by the view data operation.
    I meant to say I am facing this error
    At the10(1010 written) step of
    Creating a New ODI Interface to Perform XML File to RDBMS Table Transformation
    wehre it says
    Open the Interface tab. Select Mapping tab, right-click Target Datastore - CLIENT, and then select Data. View Data inserted in the target table. Close Data Editor. Close the tabs...
    In my case when I use my sqldeveloper I can see data successfully inserted in my target table and also in error table (data that can't satisfy the constraint) .But I was unable to check this by following the above mentioned 10 th step and got this error.
    Thanks

  • Error when uplaoding data from R/3

    hi Gurus,
            I have got a problem when loading data from r/3 to bw .
    i have loaded a init req and i have got more than 1 lac records.
    i found out that there are 2000 records with the same error in PSA.
    i have used a normal staging scenario ..psa and then to data target.
    I know we can do it manually..but anyother way not retrieveing from r/3 again.
    how to solve this problem.
    and plz let me if i can have only correct records into data target preventing the incorrect ones by any specific setting..
    will award points for good answers
    thanks ,
    charan.

    Hi krishna,
    there was a typo mistake with rohini..Use the transaction RSKC and enter those unpermitted characters..and do the load this time you will not get that error...
    Try to assign points upto your satisfaction level..

  • Error 65575: overrun error while reading data from NI 9871

    Hello everyone,
    I am new here. I configured NI 9871 in RS-485 mode to acquire data from a sensor at the data rate of 8 samples per second. While reading data from sensor, sometimes I got the error 65575: "An overrun error has occurred in the data being read. Ensure that the module Flow Control is configured correctly." I didn't understand the error, how can I fix it, what dose the flow control means.
    I will be very thankful if anybody help me to fix this error.
    Thanks
    Wasif

    Hello Wasif,
    The error you are getting presents itself when the hardware buffer is full and new data is coming in. Data buffer is 64 bytes. One thing to try is to clear the RX FIFO after every read. Please refer to the following link that talks about the method.
    http://zone.ni.com/reference/en-XX/help/370984R-01/lvaddon11/crio-9871/
    Hope this help you solve the issue.
    Regards
    Luis S
    Application Engineer
    National Instruments

  • Error while reading data from MapMessage using MDB

    Hi,
    I have written a small client program to send a message to a queue and an MDB receives the message in the onMessage() method. The message is of type MapMessage. I set key value pairs and send the message in a queue. When I try to read data from MapMessage inside onMessage() method of MDB, I get an exception:-
    javax.jms.MessageNotReadableException: In write mode
    When I send the message, by default the readonlymode is false. How do I set the mode to readonly exclusively in case of MapMessage ?
    Sirisha

    Hi,
    I do not have any problem with TextMessages...I works fine..It is only with MapMessage that I am not able to read the values..Before sending the message, the message has the flag "readMode" set to false by default by the server...R there any configurations to be made to any files like web.xml or server.xml or jms.xml ?
    I am running my JMS application on JDeveloper IDE that has an in-built OC4J server which supports JMS.

  • Getting ORA-24801: error when reading a CLOB data using BufferReader

    I am getting the "ORA-24801: illegal parameter value in OCI lob function", when reading a CLOB using a BufferedReader, i am using "oracle.jdbc.OracleDriver" for creating a connection pool and using Oracle 9.2.0.7 with Weblogic 8.1 SP 5. My code looks like this,
    oracle.sql.CLOB c_lob = null;
    c_lob = ( oracle.sql.CLOB)stmt.getClob(7);
    BufferedReader in1 = new BufferedReader(c_lob.getCharacterStream());
    char buffer[] = new char[1];
    int i;
    while((i = in1.read(buffer)) != -1)
    The error is coming at "in1.read(buffer)".

    Hi,
    Your buffer size should be the clob size.
    char[] buffer = new char[c_lob.getBufferSize()];
    Also, set the value for i as -1.
    You could see the sample on OTN for help:
    http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/files/advanced/LOBSample/Readme.html
    Thanks,
    Rashmi

  • Error while reading data from backend system.

    Hi all,
           When i click on personnel information iview i am getting following error
    EIC Authentication   
    An error occurred while data was read from your ERP system. Contact your system administrator.
    I used SQL TRACE and RFC TRACE to find where it got stopped below see the trace result.
                14     PA0105     REOPEN               0     SELECT WHERE "MANDT" = '001' AND "USRTY" = '0001' AND "USRID" = 'ESS_USER1'
               988     PA0105     FETCH         1       1403     
                14     PA0001     REOPEN               0     SELECT WHERE "MANDT" = '001' AND "PERNR" = 90000001 ORDER BY "MANDT" , "PERNR" , "SUBTY" , "OBJPS" , "SPRPS" , "ENDDA" , "BEGDA" , "SEQNR"
               665     PA0001     FETCH         1       1403     
                17     PA0000     REOPEN               0     SELECT WHERE "MANDT" = '001' AND "PERNR" = 90000001 AND "BEGDA" <= 20070622 AND "ENDDA" >= 20070622 ORDER BY "MANDT" , "PERNR" , "SUBTY" , "OBJPS" , "SPRPS" , "ENDDA" , "BEGDA" , "SEQNR"
               615     PA0000     FETCH         1       1403     
                25     PA0001     REOPEN               0     SELECT WHERE "MANDT" = '001' AND "PERNR" = 90000001 AND "BEGDA" <= 20070622 AND "ENDDA" >= 20070622 ORDER BY "MANDT" , "PERNR" , "SUBTY" , "OBJPS" , "SPRPS" , "ENDDA" , "BEGDA" , "SEQNR"
               896     PA0001     FETCH         1       1403     
                16     PA0002     REOPEN               0     SELECT WHERE "MANDT" = '001' AND "PERNR" = 90000001 AND "BEGDA" <= 20070622 AND "ENDDA" >= 20070622 ORDER BY "MANDT" , "PERNR" , "SUBTY" , "OBJPS" , "SPRPS" , "ENDDA" , "BEGDA" , "SEQNR"
               783     PA0002     FETCH         1       1403     
            13.178     ?     Server         1          0     EPSAND1 ? Server HREIC_GET_AUTHENTICATION_ESS 643 309
    What is the solution to solve this problem ?
    Thanks and regards,
    Phanikumar

    Looks like authorization issue. Could you confirm whether proper authorizations have given to this user?
    Also, run the application again get an error and then go to Transaction ST22 and see if there is any system dump for this user.
    Regards,
    Nitin

  • Runtime error when Transfering data from data object to a file

    Hi everybody,
    I'm having a problem when I transfer data from data object to file. The codes like following :
    data : full_path(128).
    OPEN DATASET full_path FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    and transfer data from flat structure to this file full_path
      move:    tab                 to c_output-tab_5,
                  tab                 to c_output-tab_4,
                  tab                 to c_output-tab_3.
      transfer c_output to full_path.      // Error Line
    The detail error like the following:
    For the statement
       "TRANSFER f TO ..."
    only character-type data objects are supported at the argument position
    "f".
    In this case. the operand "f" has the non-character-type "u". The
    current program is a Unicode program. In the Unicode context, the type
    'X' or structures containing not only character-type components are
    regarded as non-character-type.
    transfer c_output to full_path. " Line error
    Please help me to fix this issue !
    Thank you in advance !
    Edited by: Hai Nguyen on Mar 4, 2009 10:55 AM

    Hi Mickey,
    Thanks for your answer,
    I found out that the structure c_output have the field with data type X. I know that the cause of the issue.
          begin of c_output,
             vbeln(10),
             tab_5 like tab,
             posnr(6),
             tab_4 like tab,
             topmat(18),
             tab_3 like tab,
         end  of c_output.
    data : tab type X value 9.
    Could you tell me how to fix it ? What I have to do in this situation ?
    Thank you very much !

  • Error when loading data from xml file

    Hi,
    I'm trying to load data into a table from XML file using ApEx DATA UNLOAD/LOAD interfaces .
    ApEx version is 3.0.1 .
    I'm getting this error:
    ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00222: error received from SAX callback function
    How to find cause of the error ?
    Janus

    Tkank you for the simple but good advice :)
    unfortunately even google didn't find many answers :
    LPX-00222 + APEX ... NOTHING
    LPX-00222 + ORA- ... 2 pages of something like
    "Examine the additional error messages and take corrective action"

Maybe you are looking for

  • Email link to a pdf with text anchor on web site

    I'm trying to create an email with a link to a web site's pdf file with a text anchor. I want the link to take the reader not just to the pdf file but to a certain location in the pdf file. I'm creating the pdf with the text anchor in Indesign 4. It'

  • Problems with Thunderbolt after upgrading to Maverick

    I have a Macbook Pro.  I just upgraded to Maverick in the last week.   Now my Thunderbolt external monitor won't sync with my Macbook.   They are not operating in tandem.  I've had nothing buy problems with Maverick.  This is just one of many.   Anyo

  • How can I duplicate a page in Pages 5.1

    I am unable to duplicate pages in Pages 5.1 as part of a flowing document. This is one of the most basic functions which I do not seem to find any longer in the updated version of Pages. Has this been removed? If so, why would one possible remove one

  • Fuzzy lines after update to os x 10.4.3

    Saw the answer to this question several months ago, but now that I need it I can't find it in the archives. Just updated to OS X for the first time. Everything went great. Did the firmware update and installed with out a hitch. The question- I am get

  • Old Toad's automator workflow to backup Library6.iPhoto database

    Dear Old Toad, I just today downloaded your workflow to backup the iPhoto database file, and am having problems making it work. When I run it, either from the dock or the script menu, it launches Automator but then closes without doing anything. I do