Error while creating oracle external table

I am trying to create an external table with the following syntax. WhenI have executed this statement in my server which running in my machine, it is working fine. Whine I try to run the same statement on different server, it is giving the below error. I have verified the grants on both the schemas, they are simillar.
create table ext_ORGBASIC_CLIENT1(
Serial_Number varchar2(1000),
Add_Edit_Organization varchar2(1000),
Parent_Organization varchar2(1000),
Organization_Code varchar2(1000),
Organization_Name varchar2(1000),
Legal_Entity varchar2(1000),
Active varchar2(1000),
Require_Entity_Use__as_Matchin varchar2(1000),
Pass_On_Tax_On_Tax_To_Customer varchar2(1000),
Allow_Exemption_Without_Receiv varchar2(1000),
Entiy_Use_Code_Association varchar2(1000),
Tax_Calculation_Type_Code varchar2(1000),
Transaction_Type_Code varchar2(1000),
Transaction_Source_Code varchar2(1000),
Taxware_Delivery_Terms_Code varchar2(1000),
Taxware_Mode_of_Transport_Code varchar2(1000),
Debit_Credit_Indicator varchar2(1000),
Discount_Type_Code varchar2(1000),
Place_of_Principal_Negotiation varchar2(1000),
Quantity_Unit_of_Measure_Code varchar2(1000),
Good_Service_Category_Code varchar2(1000),
Tax_Rate_Of_Geo_Code_To_Be_Aut varchar2(1000))
organization external
( type oracle_loader default directory EXT_TAB_DIR
access parameters ( records delimited by newline characterset US7ASCII load
when (serial_number != 'Number' and serial_number != '#')
badfile 'EXT_TAB_DIR':'CLIENT1.bad'
logfile 'EXT_TAB_DIR':'CLIENT1.log'
fields terminated by ',' optionally enclosed by '"' lrtrim missing field values are null
reject rows with all null fields )
location ('C_CLIENT1_TXWR_FS1_TWEBULK_ORGBASIC_1_1_20091126102230_001_CSV.csv') )
parallel reject limit unlimited
while querieng from the table I am getting the below error
select * from ext_orgbasic_client1;
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04001: error opening file CLIENT1.log
ORA-06512: at "SYS.ORACLE_LOADER", line 19

I try to run the same statement on different server, it is giving the below errorSame OS name & version?
Same Oracle version to 4 decimal places?
Same OS file permissions?
Same OS pathnames?

Similar Messages

  • Error while creating the DWH tables using DAC

    Hi,
    I am getting error while creating the DWH tables using DAC. I have created a ODBC DSN using merant driver with DAC repository DB credentials and the test connection is successful. And while creating the tables i gave the olap dw credentials and the DSN name which i created earlier. But it throws the error as below:
    Please find the below mentioned error message
    =====================================
    STD OUTPUT
    =====================================
    CREATING SIEBEL DATABASE OBJECTS
    F:\DAC\bifoundation\dac\UTILITIES\BIN\DDLIMP /I N /s N /u infdomain /p ******* /c DB_DAC /G "SSE_ROLE" /f F:\DAC\bifoundation\dac/conf/sqlgen/ctl-file/oracle_bi_dw.ctl /b "" /K "" /X "" /W N
    Error while importing Siebel database schema.
    =====================================
    ERROR OUTPUT
    =====================================
    Siebel Enterprise Applications ODBC DDL Import Utility, Version 7.7 [18030] ENU
    Copyright (c) 2001 Siebel Systems, Inc. All rights reserved.
    This software is the property of Siebel Systems, Inc., 2207 Bridgepointe Parkway,
    San Mateo, CA 94404.
    User agrees that any use of this software is governed by: (1) the applicable
    user limitations and other terms and conditions of the license agreement which
    has been entered into with Siebel Systems or its authorized distributors; and
    (2) the proprietary and restricted rights notices included in this software.
    WARNING: THIS COMPUTER PROGRAM IS PROTECTED BY U.S. AND INTERNATIONAL LAW.
    UNAUTHORIZED REPRODUCTION, DISTRIBUTION OR USE OF THIS PROGRAM, OR ANY PORTION
    OF IT, MAY RESULT IN SEVERE CIVIL AND CRIMINAL PENALTIES, AND WILL BE
    PROSECUTED TO THE MAXIMUM EXTENT POSSIBLE UNDER THE LAW.
    If you have received this software in error, please notify Siebel Systems
    immediately at (650) 295-5000.
    F:\DAC\bifoundation\dac\UTILITIES\BIN\DDLIMP /I N /s N /u infdomain /p ***** /c DB_DAC /G SSE_ROLE /f F:\DAC\bifoundation\dac/conf/sqlgen/ctl-file/oracle_bi_dw.ctl /b /K /X /W N
    Connecting to the database...
    28000: [DataDirect][ODBC Oracle driver][Oracle]ORA-01017: invalid username/password; logon denied
    Unable to connect to the database...
    any help is appreciated.
    Thanks,
    RM

    The fact that you are getting an "ORA-01017: invalid username/password; logon denied" message indicates that you are at least talking to the database.
    The log shows that username "infdomain" is being used. Can you double check the username and password you have in DAC in a SQL*Plus/SQL Developer session?
    Please mark if useful/helpful,
    Andy.

  • Error while creating data warehouse tables.

    Hi,
    I am getting an error while creating data warehouse tables.
    I am using OBIA 7.9.5.
    The contents of the generate_clt log are as below.
    >>>>>>>>>>>>>>>>>>>>>>>>>>
    Schema will be created from the following containers:
    Oracle 11.5.10
    Universal
    Conflict(s) between containers:
    Table Name : W_BOM_ITEM_FS
    Column Name: INTEGRATION_ID.
    The column properties that are different :[keyTypeCode]
    Success!
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    There are two rows in the DAC repository schema for the column and the table.
    The w_etl_table_col.KEY_TYPE_CD value for DW application is UNKNOWN and for the ORA_11i application it is NULL.
    Could this be the cause of the issue? If yes, why could the values be different and how to resolve this?
    If not, then what could be the problem?
    Any responses will be appreciated.
    Thanks and regards,
    Manoj.

    Strange. The OBIA 7.9.5 Installation and Configuration Guide says the following:
    4.3.4.3 Create ODBC Database Connections
    Note: You must use the Oracle Merant ODBC driver to create the ODBC connections. The Oracle Merant ODBC driver is installed by the Oracle Business Intelligence Applications installer. Therefore, you will need to create the ODBC connections after you have run the Oracle Business Intelligence Applications installer and have installed the DAC Client.
    Several other users are getting the same message creating DW tables.

  • Error while creating publisher change tables in CDC

    Hi,
    I am implementing Change Data Capture. I got getting following error while creating publisher change tables in Staging database. My database version is 10.2.0.2.0 .
    I appreciate your help.
    ERROR at line 1:
    ORA-29540: class oracle/CDC/PublishApi does not exist
    ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 611
    ORA-06512: at line 2
    Thanks,
    Venkat.

    This problem got fixed when I ran below script!!
    @$ORACLE_HOME/rdbms/admin/initcdc.sql;

  • Error while querying the external tables in 9i

    i am working on a project on Oracle 9iR2 on Linux AS 3.0, i am in urgent need to port my data in text files for using in the DB
    I have created an external table using the following script. While executing a query it gives the following error. Pls Hlp
    create table ap_info_ex
         (ser_no number(7),
         no_of_sps number(1),
         hpy_liq_mm number(2),
         rmp_rnk_cd number(1),
         ir number(3),
         dps_flg varchar2(1))
    organization external
    (type oracle_loader
         default directory aps_jul
         access parameters (records delimited by newline
                        fields terminated by ","
                        (sno char,
                        no_sps char,
                        hpy_mm char,
                        rmp_rnk char,
                        ir char,
                        dpsflg char))
    location ('info.txt'));
    Table has been created successfully
    but when i execute a query say
    select * from ap_info_ex;
    THIS IS THE ERROR MESSAGE I AM GETTING
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04063: unable to open log file AP_INFO_EX_6151.log
    OS error Permission denied
    ORA-06512: at "SYS.ORACLE_LOADER", line 14
    ORA-06512: at line 1
    hope you would help me. i am greateful for that.

    Arun,
    Here are the things you could do.
    1. You may want to specify a logfile in your access parameters using the command 'logfile'.
    For example,
    logfile 'info.log'. You could create the file in advance and provide appropriate permissions to the operating system user(In unix, I use the commands 'touch' and 'chmod').
    2. You could specify the command
    'NOLOGFILE' in your access parameters.
    3. Provide permissions for the user to create files in the folder associated with the directory object 'aps_jul'.

  • Error in creating an external table referring to a XML file

    I've got an XML file and I've tried to create an external table referring to it in this way:
    CREATE TABLE mytable
        XML_DATA_COLUMN XMLType
      ORGANIZATION EXTERNAL
        TYPE ORACLE_LOADER DEFAULT DIRECTORY TEST_DIR
        ACCESS PARAMETERS ( records delimited BY newline
        (XML_DATA_COLUMN LOB) ) LOCATION ( 'myfile.xml' )
    where TEST_DIR is the directory where myfile.xml is stored,
    but I get this message:
    Error at Command Line:3 Column:4
    Error report:
    SQL Error: ORA-30656: column type not supported on external organized table
    30656.0000 -  "column type not supported on external organized table"
    *Cause:    Attempt to create an external organized table with a column
               of type LONG, LOB, BFILE, ADT, or VARRAY.
    *Action:   These column types are not supported, change the DDL.
    I want to have in the XML_DATA_COLUMN the content of myfile.xml so as to handle it by using extract and extractvalue functions.
    My oracle version is 10gR2 Express Edition
    Thanks!

    The examples in the following thread include an insert, but you could also use the select statement alone without the insert.
    http://www.orafaq.com/forum/mv/msg/172162/511897/0/#msg_511897

  • Error while creating datasource from table MBEWH

    Hi all,
    I am facing an error message while creating datasource from table MBEWH
    "Invalid extract structure template MBEWH of DataSource "; This operation failed, because the template structure quantity fields or currency fields, for example, field LBKUM refer to a different table.
    Can anyone help me that why system is not allowing me to generate generic datasource for table MBEWH to transfer my month wise inventory data.
    thanks and regards.

    Hi Zakir,
          This was comming for classification data... when ever you want to extract some classification related data then we can't create generic datasources  directly.. for that you need  to go with CTBW  ( tcode )  and   create  one datasource...
       so, you need to check that   related table also.. for that  MBEWH table..
        ALL THE CLASSIFICATION RELATED DATASOURCES WE CAN'T CREATE DIRECTLY... JUST LIKE  AUSP table also.. liek this..
    regards
    @jay

  • Error while creating Cross-reference table using Xreftool (PIP Ins)

    Error while running xref.sh script unable to create cross reference table.
    **Error: Exception in thread "main" java.lang.NoClassDefFoundError: oracle/tip/xref/tool/AdminTool**
    Could not find xref directory within tip folder (/OracleAS_1/bpel/docs/workflow/oracle/tip)
    searched for similar issue in OTN it says issue fixed by upgrading Oracle AS, we are using 10.1.3.4 MLR#8
    http://kr.forums.oracle.com/forums/thread.jspa?threadID=835446
    steps followed.
    Creating Cross-Reference Tables
    Complete the following procedure to create cross-reference tables.
    To create cross-reference tables
    1 Navigate to the following directory:
    %SOAHOME%/SiebelODOPPIP/scripts/
    2 Open the following file for editing:
    xref.sh
    3 Set the userid and passwd for logging into BPEL console on the appropriate lines.
    4 Set the correct SOA_HOME location on the appropriate line.
    5 Save and close the file.
    6 Make the file executeable:
    chmod +x xref.sh
    dos2unix xref.sh
    7 Change directory (cd) to integration/esb/bin under %SOAHOME%.
    8 Execute ../../../SiebelODOPPIP/scripts/xref.sh.
    I am using SOA suite 10.1.3.3 and getting same error
    Error: Exception in thread "main" java.lang.NoClassDefFoundError: oracle/tip/xref/tool/AdminTool

    Hi Abhijeet,
    please check in transaction FI01, about your data consistencies. You can use this wiki help in terms of Address, it it found any useful facts for you
    Address Checks - Business Address Services (BC-SRV-ADR) - SAP Library

  • Hi, i am getting an error while using the External Table.

    Hi,
    I am getting the below error. External table has been created successfully and when I read the data from the external table i get the below error. Can anyone give solution of this error.
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04063: unable to open log file EXT_ZPP0A871_6738.log
    OS error Permission denied
    ORA-06512: at "SYS.ORACLE_LOADER", line 19
    Thanks,
    Himanshu

    KUP-04063: unable to open log file EXT_ZPP0A871_6738.log
    OS error Permission deniedThe error seems quite clear... what's you OS and Oracle version ?

  • Error while creating Global temp table

    Hi,
    I am very new to PL/SQL so please excuse my question. I have the below query . I have to get a count between the source table and various target tables. I am creating a global temp table to store the counts. I am getting the below error for my following query :
    Thanks for the help,
    Petronas
    ----Query----
    set serveroutput on
    Declare
    nm1 varchar2(200);
    nm2 varchar2(200);
    cnt1 number;
    cnt2 number;
    diff number;
    totdiff number;
    Begin
    nm1 := null;
    nm2:= null;
    cnt1:= 0;
    cnt2 := 0;
    diff := 0;
    totdiff := 0;
    create GLOBAL TEMPORARY TABLE diff ( name1 varchar(200), name2 varchar2(200), diff number);
    select count(*) into cnt1
    from users_staging;
    select count(*) into cnt2
    from PROD.users;
    nm1 := 'users_staging';
    nm2 := 'PROD.users';
    diff := cnt1 - cnt2;
    insert into diff values (nm1,nm2,diff);
    select count(*) into totdiff
    from diff
    where diff> 0 ;
    dbms_output.enable(10000);
    dbms_output.put_line('# of tables where difference is > 0 ' ||totdiff);
    end;
    Encountered the symbol "CREATE" when expecting one of the following:
    begin case declare end exception exit for goto if loop mod
    null pragma raise return select update while with
    <an identifier> <a double-quoted delimited-identifier>
    <a bind variable> << close current delete fetch lock insert
    open rollback savepoint set sql execute commit forall merge
    pipe

    Hi,
    "CREATE GLOBAL TEPORARY TABLE ..." is not a PL/SQL command; it is a SQL command only.
    Create the table, using that statement, before running the PL/SQL block.
    You can issue SQL statements from within PL/SQL using the EXECUTE IMMEDIATE command, but this is rarely a good idea.
    I assume the PL/SQL code is meant to create the table and then populate it.
    You should split those into two separate pieces of code. You'll only want to create the table once, no matter how many times you use it. I assume you'll want to populate it the same way many times. Remember, the "TEMPORARY" in "GLOBAL TEMPORARY TABLE" refers to the data, not the table. When you end a transaction (or a session, depending on whther you want "ON COMMIT DELETE ROWS" or "ON COMMIT PRESERVE ROWS"), the data disappears, but the now-empty stays, ready to be populated for the next transaction (or session).
    Edited by: Frank Kulash on Aug 4, 2010 2:25 PM

  • Error while creating an external content type using wcf service.

    Hi!
      I have been asked to create a wcf service to expose sql data and populate them in a list using external content type.i have created the service but while creating the content type it gives me error. Can anyone suggest me about which url should
    be used in service metadata url and service endpoint url.
    Thanks in advance.

    You can refer these links, may be helpful
    https://msdn.microsoft.com/en-us/library/office/jj163810.aspx
    https://msdn.microsoft.com/en-us/library/office/gg318615(v=office.14).aspx
    http://www.dotnetcurry.com/showarticle.aspx?ID=799
    http://www.c-sharpcorner.com/UploadFile/Roji.Joy/connecting-to-a-web-service-using-business-connectivity-serv/
    Thanks
    Ganesh Jat [My Blog |
    LinkedIn | Twitter ]
    Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful.

  • Error while creating dynamic internal table.

    Hello Expert,
    While creating a dynamic internal table, it throw an run time error as :
    " LOAD PROGRAM NOT FOUND
      CX_SY_PROGRAM_NOT_FOUND"
    i tried to debug the program, it found this error comes while calling
    CALL METHOD cl_alv_table_create=>create_dynamic_table
    please anyone help me out to resolve this problem.
    what could be the reason of error? and how to avoid it?
    <REMOVED BY MODERATOR>
    thanks in advance.
    ~ shweta.
    Edited by: Alvaro Tejada Galindo on Feb 28, 2008 2:41 PM

    Hi,
    Go through this program.
    Report z_dynamic.
    type-pools : abap.
    field-symbols: <dyn_table> type standard table,
    <dyn_wa>,
    <dyn_field>.
    data: dy_table type ref to data,
    dy_line type ref to data,
    xfc type lvc_s_fcat,
    ifc type lvc_t_fcat.
    selection-screen begin of block b1 with frame.
    parameters: p_table(30) type c default 'T001'.
    selection-screen end of block b1.
    start-of-selection.
    perform get_structure.
    perform create_dynamic_itab.
    perform get_data.
    perform write_out.
    form create_dynamic_itab.
    Create dynamic internal table and assign to FS
    call method cl_alv_table_create=>create_dynamic_table
    exporting
    it_fieldcatalog = ifc
    importing
    ep_table = dy_table.
    assign dy_table->* to <dyn_table>.
    Create dynamic work area and assign to FS
    create data dy_line like line of <dyn_table>.
    assign dy_line->* to <dyn_wa>.
    endform.
    Regards,

  • Error in creating the external table?

    SQL> create table oldemp (
    2 empno number(5),
    3 ename varchar2(20))
    4 organization external
    5 (type oracle_loader
    6 default directory emp_dir
    7 access parameters
    8 (records delimited by newline
    9 badfile 'bad_emp'
    10 logfile 'log_emp'
    11 fields terminated by ','
    12 (empno number(5),
    13 ename varchar2(20))
    14 LOCATION ('c:\EMP1.TXT'))
    15 PARALLEL 5
    16 REJECT LIMIT 200;
    PARALLEL 5
    ERROR at line 15:
    ORA-30648: missing LOCATION keyword
    SQL>

    error when inserting into the external table.
    Following is the error:
    SQL> create table oldemp (
    2 empno number(5),ename varchar2(20))
    3 organization external
    4 (type oracle_loader
    5 default directory emp_dir1
    6 access parameters
    7 (records delimited by newline
    8 badfile 'bad_emp'
    9 logfile 'log_emp'
    10 fields terminated by ','
    11 (empno number(5),
    12 ename varchar2(20)))
    13 LOCATION('EMP2.lst'))
    14 PARALLEL 5
    15 REJECT LIMIT 200;
    Table created.
    SQL> insert into oldemp values(100,'raj');
    insert into oldemp values(100,'raj')
    ERROR at line 1:
    ORA-30657: operation not supported on external organized table

  • Error while creating Oracle DB connection in Endeca Intergrator 3.1

    Hi All,
    I am facing an issue while creating a new Oracle DB connection using Inegtator in 3.1 version.
    I get the following exception:
    loader constraint violation in interface itable initialization: when resolving method "oracle.jdbc.OracleConnectionWrapper.setWrapper(Loracle/jdbc/OracleConnection;)V" the class loader (instance of org/jetel/util/classloader/GreedyURLClassLoader) of the current class, oracle/jdbc/driver/OracleConnection, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for interface oracle/jdbc/OracleConnection have different Class objects for the type oracle/jdbc/OracleConnection used in the signature
    we dont have SID but service name and we use like the following in earlier versions:
    jdbc:oracle:thin:@localhost:1556/xx_yy.us.oracle.com
    Not sure what is the issue... Any pointers are appreciated!!
    Thanks in Advance,
    Kartik P.

    Could you have installed Integrator ETL Server into the same Tomcat instance as Studio?  That's not a supported configuration per http://docs.oracle.com/cd/E40518_01/integrator.311/integrator_install/toc.htm#Installing%20Integrator%20ETL%20Server%20on%20Tomcat : "Integrator ETL Server must be installed on a standalone Apache Tomcat. Do not install Integrator ETL Server on a Tomcat server that is being used to host other applications. For example, do not install Integrator ETL Server on the Tomcat that is hosting Studio. ".

  • Error while creating cust In table T078D, the entry VD01 is missing...

    Hi Gurus,
    I am new to SAP and have just installed SAP 4.7 on my laptop. While creating customer master, a message displays In table T078D, the entry VD01   is missing, and even for XD01 the same message is displayed. Can you guysplease help me with this?
    Thanks
    Shiva

    Hi,
    this looks like some customizing records are missing in your installation.
    Table T078D contains the transaction dependant field settings.
    This is in relation with customizing transaction OB20
    In that table, there should be at least 15 records with the corresponding table key
    FD01
    FD02
    FD03
    VD01
    VD02
    VD03
    WR01
    WR02
    WR03
    WR11
    WR12
    WR13
    XD01
    XD02
    XD03
    So, if you don't find why standard customizing records are not part of you installation, you may re-create such records with the above keys.
    Please note that all fields that are not part of the key should at least contains '.' character for each digits of each fields.
    eg: FAUSA is 40 digits long.
    FAUSA = '........................................'
    Hope this helps
    Regards
    Alain

Maybe you are looking for

  • ITunes no longer automatically searching Grace Note DB

    For some reason my iTunes has stopped automatically searching for song titles in the Grace Note DB. It gets the songs when I tell it to retireve them but no longer does it as soon as I put the disc in the machine. I am running on Windows XP and haven

  • How do you determine if a product is available in a specific store?

    Had to wait until today b/c of financial situation, and now I can't locate any tablets in the $100-$120 range for my kids.  I have found the product I want here online at Bestbuy.com, but I can not seem to find out if it is available at the physical

  • Can I connect 2 printers to my AEBS

    Is it possible to have 2 printers connected to the AEBS with the use of an USB hub? I tried to do a search for this but was unable to find any info. Thanks much.

  • Why wont my iPad connect to the closest/strongest wifi?

    Why wont my iPad connect to the closest/strongest wifi at home? It alway defaults to the one upstairs even when I am right next to our extender in the kitchen?

  • What does photostream do?

    What and how does Photostream work?  It seems like everytime I upload my pictures to Shutterfly, they are doubles because of it.  Also, how do I transfer my pictures from my iphone to my Mac?  They way I am doing it now makes the pictures t