ORA-29913 of the external table error: error in executing ODCIEXTTABLEOPEN legend

Hello

I am getting error for an external table, after trying to load data from external table to a pipe delimited file.
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04040: file BIPO_04_28_2010_18_53_11.txt in AB501 not found
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.
Here's the code for creating table
CREATE TABLE ' || whr_ext_tab || '
    (
        partner_product_code VARCHAR2(30), -- Partner’s product code or part number
        product_description VARCHAR2(60), -- Product description
        po_comments VARCHAR2(254), -- Purchase Order Comments
        wr_member_number VARCHAR2(60), -- Rewards Member Number
    )
    ORGANIZATION EXTERNAL
      (  TYPE ORACLE_LOADER
         DEFAULT DIRECTORY "<dir>"
         ACCESS PARAMETERS
           ( RECORDS DELIMITED BY NEWLINE
                    BADFILE ''BIPO.bad''
                    LOGFILE ''BIPO.log''
                    FIELDS TERMINATED BY ''|''
                    MISSING FIELD VALUES ARE NULL
             )
         LOCATION ("<dir>":''<fn>'')
      )
    REJECT LIMIT UNLIMITED
    NOPARALLEL
    NOMONITORING
  ';
Thank you
Sandy

Have you seen this in the error message:

KUP-04040: file BIPO_04_28_2010_18_53_11.txt in AB501 not found

What is the file exists in the directory? You have permissions to read from the object Directory logical Oracle? You have OS permissions to read from this directory?

Tags: Database

Similar Questions

  • ORA-29913: error in executing ODCIEXTTABLEOPEN legend

    Hi Experts,

    Please help correct the above error, I mentioned all the steps that I did.

    Version of DB - 11.2.0.1

    Version of the OS - OEL6 (64-bit)

    SQL > show parameter utl_file

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    UTL_FILE_DIR chain

    SQL > alter system set utl_file_dir = ' / u01/feeder ' scope = spfile;

    Modified system.

    SQL > startup strength;

    ORACLE instance started.

    Total System Global Area 634679296 bytes

    Bytes of size 2216024 fixed

    507514792 variable size bytes

    121634816 of database buffers bytes

    Redo buffers 3313664 bytes

    Mounted database.

    Open database.

    SQL > exit

    SQL > create statement of directory as ' / u01/feeder;

    Created directory.

    SQL >! Cat depts.txt

    01, accounting

    02, IT

    03, Admin

    04, marketing

    SQL > create table depts (deptno number (2), varchar2 (16)) deptname

    (external) Organization

    type oracle_loader

    default directory charger

    access settings

    (records delimited by newline

    BadFile "depts.bad."

    discardfile 'depts.dsc '.

    logfile "depts.log".

    fields termintated by ':'

    missing field values are null)

    location ('depts.txt'));

    Table created

    SQL > select * from departments;

    Select * from departments

    *

    ERROR on line 1:

    ORA-29913: error in executing ODCIEXTTABLEOPEN legend

    ORA-29400: data cartridge error

    KUP-00554: error occurred when parsing the access settings

    KUP-01005: syntax error: found 'identifier': expected an a: "column,

    Clos, ignore_chars_after_eor (ltrim, lrtrim, ldrtrim, lack, notrim,

    "eventually, rtrim, reject, finished.

    KUP-01008: the identifier of the AfDB was: termintated

    KUP-01007: line 5, column 8

    fields termintated by «,»

    Read my first response: he was "terminated" not "termintated.

  • Using the external table error

    Hi all

    This is the first time I use the external table for loading the data.

    I did these steps

    In the D:\sqlloade folder, I have my text file containing data example.txt

    I ran these queries

    CREATE OR REPLACE DIRECTORY  ext_tab_data AS 'D:\sqlloader';
    
    

    Directory created

    CREATE TABLE fxops.t_ext (
    t number
    )
    ORGANIZATION EXTERNAL (
      TYPE ORACLE_LOADER
      DEFAULT DIRECTORY ext_tab_data
      ACCESS PARAMETERS (
        RECORDS DELIMITED BY NEWLINE
        FIELDS TERMINATED BY ','
        MISSING FIELD VALUES ARE NULL
        (
         t number
        )
      )
      LOCATION ('sample.txt')
    )
    PARALLEL 5
    REJECT LIMIT UNLIMITED;
    
    

    create table

    When I tried to create a view on that table, he throws an error

    CREATE OR REPLACE VIEW fxops.t_view  AS
      SELECT *
      FROM   fxops.t_ext;
    
    SQL Error: ORA-06564: object EXT_TAB_DATA does not exist
    06564. 00000 -  "object %s does not exist"
    *Cause:    The named object could not be found.  Either it does not exist
               or you do not have permission to access it.
    *Action:   Create the object or get permission to access it.
    
    

    Sign in, and then run this:

    Select HOST_NAME from v$ instance;

    is this the same hostname that you are connected?

    Kind regards

    Harry

  • mapping using the external table error.

    I'm trying to create a map using an external table.
    I'm testing a simple column to column mapping. As simple as you could possibly get.
    Can I deploy the mapping without errors, but when I try to run the map, I get a
    ORA-06564: EXT_DATA object does not exist

    I created my external to oracle using the ext_data directory. I can see the data without any problem in TOAD or SQLPlus.

    I tried to create a place called ext_data and it helps this creation, but I still get the same error.

    Any thoughts?

    Dan

    Hi Dan

    You must deploy the EXT_DATA connector (to be deployed as a Directory SQL) that is created under the location of Oracle used for your external table module is in.

    See you soon
    David

  • Error loading the external table

    I encounter an error.

    IAF.txt:

    "02T001427T04206"-1
    '478081' 12
    '131379' 200
    "158125"-100
    '152040'-800
    "151112"-4
    '481990'-5
    "150389"-300
    "481136" 3


    CREATE OR REPLACE DIRECTORY IAF_log_dir
    LIKE 'c:\dataformats\logs\IAF\log ';
    CREATE OR REPLACE DIRECTORY IAF_bad_dir
    LIKE 'c:\dataformats\logs\IAF\bad ';
    create table ext_IAF_table)
    item_no varchar2 (15).
    integer quantity
    )
    external organization
    (
    type oracle_loader
    default directory user_dir
    access settings
    (
    records delimited by newline
    FIELDS TERMINATED BY WHITESPACE EVENTUALLY SURROUNDED "" "
    BadFile IAF_bad_dir:'IAF%a_%p.bad'
    logfile IAF_log_dir:'IAF%a_%p.log'
    fields
    (
    item_no char (15),
    external quantity integer
    )
    )
    location ("IAF.txt")
    )
    reject limit unlimited;


    SQL > select * from ext_iaf_table;
    Select * from ext_iaf_table
    *
    ERROR on line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN legend
    ORA-29400: data cartridge error
    KUP-00554: error occurred when parsing the access settings
    KUP-01005: syntax error: found "badfile": waiting for an of: "and in the column, (,»
    LTrim lrtrim, ldrtrim, lack, notrim, rtrim, reject.
    KUP-01007: line 3, column 1
  • EXTERNAL TABLE ERROR

    Hello

    I use external table below script

    CREATE TABLE emp_load

    (employee_number VARCHAR2 (50))

    employee_last_name VARCHAR2 (50).

    employee_first_name VARCHAR2 (50).

    employee_middle_name VARCHAR2 (50).

    employee_hire_date VARCHAR2 (50))

    EXTERNAL ORGANIZATION

    (TYPE ORACLE_LOADER

    THE DEFAULT DIRECTORY ABC_LOAD

    ACCESS SETTINGS (FIELDS TERMINATED BY ' |')

    RECORDS DELIMITED BY NEWLINE

    FILED MISSING VALUES ARE NULL

    (employee_number VARCHAR2 (50))

    employee_last_name VARCHAR2 (50).

    employee_first_name VARCHAR2 (50).

    employee_middle_name VARCHAR2 (50).

    employee_hire_date VARCHAR2 (50))

    )

    LOCATION ("info.dat")

    ) REJECT LIMIT UNLIMITED;

    and have created a directory ABC_LOAD as 'C:\Oracle' and my os is WINDOWS 8.

    and the content of my. DAT file is

    010 | ABC | DEF | XYZ | DECEMBER 3, 2011

    but when I do select * from emp_load I get error below.

    ERROR on line 1:

    ORA-29913: error in executing ODCIEXTTABLEOPEN legend

    ORA-29400: data cartridge error

    KUP-00554: error occurred when parsing the access settings

    KUP-01005: syntax error: found 'records': expected an of: "column, locked,

    (', ltrim, lrtrim, ldrtrim, missing, notrim, possibly, rtrim, reject ")

    KUP-01007: line 2, column 9

    I use the Oracle 11 g R2 and Windows as operating system.

    Any help please.

    Thank you.

    1. in the absence of typing in the VALUES LIST FILED ARE NULL

    2 RECORDS DELIMITED BY NEWLINE must precede FIELDS TERMINATED BY ' |'

    3. There is no such SQL * Loader/external VARCHAR2 table field type (in this case, you need not even say)

    SQL > CREATE TABLE emp_load
    2 (employee_number VARCHAR2 (50))
    3 employee_last_name VARCHAR2 (50).
    4 employee_first_name VARCHAR2 (50).
    5 employee_middle_name VARCHAR2 (50).
    6 employee_hire_date VARCHAR2 (50))
    7 EXTERNAL ORGANIZATION
    8 (TYPE ORACLE_LOADER
    9 DEFAULT TEMP DIRECTORY
    10 ACCESS (PARAMETERS
    11 PRECEDED BY NEWLINE RECORDS
    12 FIELDS TERMINATED BY ' |'
    13 MISSING FIELD VALUES ARE NULL
    14 (employee_number,
    15 employee_last_name,
    employee_first_name 16,
    employee_middle_name 17,
    18 employee_hire_date)
    19         )
    20 RENTAL ("info.dat")
    (21) REJECT LIMIT UNLIMITED
    22.

    Table created.

    SQL > SELECT *.
    2 FROM emp_load
    3.

    EMPLOYEE_N EMPLOYEE_L EMPLOYEE_F EMPLOYEE_M EMPLOYEE_HI
    ---------- ---------- ---------- ---------- -----------
    010 ABC DEF XYZ DECEMBER 3, 2011

    SQL >

    SY

  • Please help me with the external table

    I have a file in/home/UserA/xtern /.
    employee_report.csv
    chmod 777/home/UserA/xtern /.
    chmod 777 /home/userA/xtern/employee_report.csv

    the content of the file is:
    001, Hutt, Jabba, 896743856, [email protected], 18
    002, Simpson, Homer, 382947382, [email protected], 20
    003, Kent, Clark 082736194, [email protected], 5
    004, kid, Billy, 928743627, [email protected], 9
    005, stranger perfect 389209831, [email protected], 23
    006, Zoidberg, Dr 094510283, [email protected], 1


    I then
    create or replace directory xtern_data_dir
    as ' / home/UserA/xtern;

    Grant read, write on directory xtern_data_dir to the public;

    create table xtern_empl_rpt
    (empl_id VARCHAR2 (3),)
    VARCHAR2 (50) last_name,.
    first name varchar2 (50).
    SSN varchar2 (9).
    email_addr varchar2 (100),
    years_of_service number (2.0)
    )
    external organization
    (TYPE ORACLE_LOADER
    the default directory xtern_data_dir
    access settings
    (
    records delimited by newline
    -BADFILE "xtern_data_dir': ' employee_report.bad '.
    -LOGFILE ' xtern_data_dir': ' employee_report.log '.
    BADFILE "employee_report.bad."
    LOGFILE "employee_report.log".
    fields completed by «,»
    )
    location ('employee_report.csv')
    );

    When I run
    Select * from xtern_empl_rpt;

    I got the error:
    ORA-29913: error in executing ODCIEXTTABLEOPEN legend
    ORA-29400: data cartridge error
    KUP-00554: error occurred when parsing the access settings
    KUP-01005: syntax error: found 'minussign': expected an of: "badfile, bigEndian, characterset, column, data, delimited, discardfile, output, fields, set, load, logfile, language, nodiscardfile, nobadfile, nologfile, date_cache, transformation, TailleLue, chain, skip, territory, variable.
    KUP-01007: line 2, column 1
    ORA-06512: at "SYS." ORACLE_LOADER', line 19
    ORA-06512: at line 1
    29913 00000 - "error in the execution of %s legend".
    * Cause: The execution of the specified legend caused an error.
    * Action: Examine the error messages take appropriate measures.

    the sample is mixed
    http://www.orafaq.com/node/848
    http://www.orafaq.com/Forum/t/5808/2/

    Hello

    Lose the 2 lines commented for BAD and ellaborate it should work fine.

    SQL> create or replace directory xtern_data_dir
    as '  2  
    
    SQL> create or replace directory xtern_data_dir
      2  as '/home/oracle';
    
    Directory created.
    
    SQL> grant read,write on directory xtern_data_dir to public;
    
    Grant succeeded.
    
    SQL> conn scott/TIGER
    
    SQL> create table xtern_empl_rpt
      2  ( empl_id varchar2(3),
      3  last_name varchar2(50),
      4  first_name varchar2(50),
      5  ssn varchar2(9),
      6  email_addr varchar2(100),
      7  years_of_service number(2,0)
      8  )
      9  organization external
     10  (TYPE ORACLE_LOADER
     11  default directory xtern_data_dir
     12  access parameters
     13  (
     14  records delimited by newline
     15  BADFILE 'employee_report.bad'
     16  LOGFILE 'employee_report.log'
     17  fields terminated by ','
     18  )
     19  location ('employee_report.csv')
     20  ) ;
    
    Table created.
    
    SQL> select * from xtern_empl_rpt;
    
    EMP LAST_NAME
    --- --------------------------------------------------
    FIRST_NAME                                         SSN
    -------------------------------------------------- ---------
    EMAIL_ADDR                               YEARS_OF_SERVICE
    ---------------------------------------- ----------------
    001 Hutt
    Jabba                                              896743856
    [email protected]                                   18
    
    002 Simpson
    Homer                                              382947382
    [email protected]                                   20
    
    003 Kent
    Clark                                              082736194
    [email protected]                                 5
    
    004 Kid
    Billy                                              928743627
    [email protected]                               9
    
    005 Stranger
    Perfect                                            389209831
    [email protected]                                  23
    
    006 Zoidberg
    Dr                                                 094510283
    [email protected]                               1
    
    6 rows selected.
    
  • Load the oracle database using the external table

    LKM:LKM file for oracle (external tables)
    Added command IKM:IKM sql
    Mapping: automatic mapping
    Error in step: insert new lines
    java.sql.SQLException: ORA-29913: error in executing ODCIEXTTABLEOPEN legend
    ORA-29400: data cartridge error
    opening the file in error... /Demo/file/test.txt_000.log

    Description:
    insert into TARGET_Schema.TARGET_Table
    (
    ColumnA,
    ColumnB,
    ColumnC
    )
    Select
    C1_ColumnA,
    C2_ColumnB,
    C3_ColumnC

    of ODI. C$ _0TARGET_Table
    where
    (1 = 1)
    answer please, how to solve this error.

    Hello

    GOTO topology and make sure that the database server has full path as D:\oracle\oracledi\oracledi\demo\file name

    and do not... file/demo /.

    After testing this issue, it should work fine.

    Thank you
    Fati

  • Error ORA-29913, in the execution of legend ODCIEXTTABLEFETCH ORA-01114

    Hi all

    I have a problem when importing a job. Please check the newspapers below:

    . . imported "QADTA." "" F5842017 "GB 5,091 20655848 lines

    . . imported "QADTA." "' F5858002 ' 6,008 GB 27703475 lines

    . . imported "QADTA." "" F5541017 "GB 38,64 209026748 lines

    ORA-31693: Data Table object 'QADTA '. "' F0911 ' failed to load/unload and being ignored because of the error:

    ORA-01114: block write IO file error (block #)

    ORA-29913: error in executing ODCIEXTTABLEFETCH legend

    ORA-01114: IO error to the file 210 (block # 775358) writing block

    ORA-27072: IO file error

    Additional information: 4

    Additional information: 775358

    Additional information: 139264

    ORA-31693: Data Table object 'QADTA '. "' F42199 ' failed to load/unload and being ignored because of the error:

    ORA-01114: block write IO file error (block #)

    ORA-29913: error in executing ODCIEXTTABLEFETCH legend

    ORA-01114: IO error to the file 210 (block # 757597) writing block

    ORA-27072: IO file error

    Additional information: 4

    Additional information: 757597

    Additional information:-1

    Please help me why these got job failed. What is this error?

    Database version:

    SQL > select * from v version $;

    BANNER

    --------------------------------------------------------------------------------

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    PL/SQL Release 11.2.0.3.0 - Production

    CORE Production 11.2.0.3.0

    AMT for HP - UX: 11.2.0.3.0 - Production Version

    NLSRTL Version 11.2.0.3.0 - Production

    Kind regards

    Michel

    You can check the consistency of the data files, use DBV/DBVERIFY. It seems to me that your DBF file or dump file may be damaged.

    Onkar

  • Error importing CSV files with "hidden" characters using the external Table

    Hi people

    Bit of a strange here.

    Well, we are accustomed to the use of the external Table method to load data from CSV files in the database, but a recent event presented us a problem.

    We have received some CSV files that "look like" regular CSV files, but Oracle will not load them.

    When we looked at the CSV using VIM on a UNIX machine, we saw the following characters 'hidden' between each regular character in the file.
    ^@
    If a string that looks like this when opened in Excel/Wordpad etc.
    "TEST","TEXT"
    Looks like this when exmained with VIM
    ^@"^@T^@E^@S^@T^@"^@,^@"^@T^@E^@X^@T^@"
    Has anyone encountered this before?

    Thank you very much

    Simon Gadd
    Oracle 11g 11.2.0.1.0

    Hi Simon,.

    ^ @ represents the ZERO character (0x00).
    So, most likely, you have a file encoded in Unicode.

    You need to specify the character set in the record specification (and if necessary the byte order mark), for example:

    CREATE TABLE ext_table
    (
      col1 VARCHAR2(10),
      col2 VARCHAR2(10)
    )
    ORGANIZATION EXTERNAL
    (
      TYPE ORACLE_LOADER
      DEFAULT DIRECTORY dump_dir
      ACCESS PARAMETERS
      (
       RECORDS DELIMITED BY '
    ' CHARACTERSET 'UTF16'
      FIELDS TERMINATED BY ','
      )
      LOCATION ('dump.csv')
    )
    REJECT LIMIT UNLIMITED;
    

    http://download.Oracle.com/docs/CD/E11882_01/server.112/e16536/et_params.htm#i1009499

  • ORA-29913: error in executing ODCIEXTTABLEFETCH legend

    Hello

    I get an error when you run queries against a view.
    SQL > select count (*) in the TOOL_ADMIN. DATABASE_STATS;.

    ERROR on line 1:
    ORA-29913: error in executing ODCIEXTTABLEFETCH legend
    ORA-30653: reject limit reached
    ORA-06512: at "SYS." ORACLE_LOADER', line 52

    SQL > select MASTER, object_name, object_type, status, CREATED from object where object_name like UPPER ('Database_Stats');

    OWNER OBJECT_NAME OBJECT_TYPE STATUS CREATED
    ------------------------------ ------------------------------ ------------------- ------- ---------
    TOOL_ADMIN DATABASE_STATS VIEW VALID MARCH 9, 10


    Could you please share your experiences on this subject?

    Kind regards
    VN

    Based on the view of the error messages. TOOL_ADMIN done DATABASE_STATS refers to an external table. This means that whenever you select in the view that oracle bed associated with external table file is loading based on the external table definition. And this time the number of records in the file not following the external table definition exceeds the limit of rejection of external table. Check the definition of the view. Determinte log, bad and throw the files and examine them to see records or reasons were rejected.

    SY.

  • ORA-29913: error in executing ODCITABLEDESCRIBE legend

    Hello
    Database is 11.2.0.3 Solaris SPARC with R 2.13.2 and ORE installed.
    When you run the latest example of page 39: http://www.oracle.com/technetwork/database/options/advanced-analytics/r-enterprise/ore-trng4-embeddedrscripts-1501638.pdf

    Select *.
    table (rqTableEval)
    cursor (select ARRDELAY, DISTANCE, DEPDELAY
    of ontime_s
    where year = 2003
    and month = 5
    dayofmonth = 2) and
    cursor (select 1 max1, 1 pos1, Name1 'mod',)
    TO_NUMBER (null) max2, to_number (null) pos2,
    TO_CHAR (null) name2, total, piece, value
    of ontime_lm).
    "select ARRDELAY, DISTANCE, DEPDELAY, 1 PRED ontime_s."
    'R_TEST_Example3'))
    order by 1, 2, 3;
    Select *.
    *
    ERROR on line 1:
    ORA-29913: error in executing ODCITABLEDESCRIBE legend

    What could be a problem?

    Kind regards

    There is a bug in the ore 1.1 on Solaris. We could reproduce the problem locally on a SPARC box. On a positive side, we have a solution for this in point 1.3 of the ORE. We have released ORE 1.3 on Linux and will soon publish two versions of Solaris.

  • ORA-29913: error in executing ODCIEXTTABLEPOPULATE legend while expdp

    Hi all
    My bottom, expdp command fails with the error below:

    With the options of partitioning and Data Mining
    Start "TKSDBO53". "' EXPDP_AR1_TAX_ITEM ': TKSDBO53/***@INTKS10G tables = AR1_TAX_ITEM DUMPFILE=DUMP:Expdp_AR1_TAX_ITEM_%U.dmp LOGFILE = LOG:Expdp_AR1_TAX_ITEM.log CONTENT = DATA_ONLY FILESIZE = 5 G EXCLUDE = INDEX, STATISTICS, CONSTRAINTS, GRANT PARALLEL = JOB_NAME 5 = Expdp_AR1_TAX_ITEM
    Current estimation using BLOCKS method...
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 19,80 MB
    ORA-31693: Data Table object 'TKSDBO53 '. "' AR1_TAX_ITEM ': 'AMAXVALUE_BMAXVALUE' failed to load/unload and being ignored because of the error:
    ORA-29913: error in executing ODCIEXTTABLEPOPULATE legend
    ORA-00001: unique constraint (TKSDBO53. SYS_C00612451) violated
    ORA-06512: at "SYS." "KUPF$ FILE ', line 2580
    ORA-06512: at line 1
    . . exported "TKSDBO53." "' AR1_TAX_ITEM ': 'AMAXVALUE_BMAXVALUE' 324 lines 0 KB
    Table main "TKSDBO53." "' EXPDP_AR1_TAX_ITEM ' properly load/unloaded

    The command I use is
    expdp TKSDBO53/TKSDBO53@INTKS10G tables = AR1_TAX_ITEM DUMPFILE=DUMP:Expdp_AR1_TAX_ITEM_%U.dmp LOGFILE = LOG:Expdp_AR1_TAX_ITEM.log CONTENT = DATA_ONLY FILESIZE = 5 G PARALLEL = JOB_NAME 5 = Expdp_AR1_TAX_ITEM2


    > uname
    Linux

    SQL > select * from v version $;

    BANNER
    ----------------------------------------------------------------
    Oracle Database 10 g Enterprise Edition release 10.2.0.3.0 - 64bi
    PL/SQL version 10.2.0.3.0 - Production
    CORE Production 10.2.0.3.0
    AMT for Linux: release 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production

    Please suggest what should I do?

    Regds,
    Malika

    Hmm... Interesting though!

    I think that not some problems that cannot be solved by forum / distance helps. This is one of them. Probably in support of the Oracle if the place where you can solve the problem that why this db rests with ora-29913 while others are not. still the same table structure. If you Gets the support of oracle response, then please post it here (only if it does not violate EULA).

    Or, please wait for the response by other members of the forum.

    Concerning
    Girish Sharma

  • Key issue of the external table preprocessor - ssh

    I want an external table that runs a df command in a script

    DFH.sh more

    / bin/df h

    CREATE TABLE XT_df

    (

    SCRIPT_OUTPUT VARCHAR2 (2000)

    )

    EXTERNAL ORGANIZATION

    (TYPE ORACLE_LOADER

    Datapumpdir default DIRECTORY

    ACCESS SETTINGS

    (RECORDS DELIMITED BY NEWLINE

    PREPROCESSOR datapumpdir: 'dfh.sh'

    jump 1

    FIELDS TERMINATED BY ', '.

    surrounded of possibly "" "

    )

    LOCATION (datapumpdir: 'xtdf.dat')

    )

    Select * from XT_df

    And it works.  I see my df output.

    I want to run something similar on multiple hosts, but the same host, so I place another table and call another shell script to run a remote ssh script after I have set user equivalence

    / usr/bin/SSH oracle@remotehost1 ' df-h | grep u02'

    the works of shell script

    However, qualifying by selecting in the external table I get ssh host checking has no error.

    [Error] Run (1: 1): ORA-29913: error in executing ODCIEXTTABLEFETCH legend

    ORA-29400: data cartridge error

    KUP-04095: order of preprocessor /winlogs/dfh.sh has detected the error "host key verification failed.

    "

    So what could be the cause that if she works well as oracle from command line, checking the .ssh key is on the other side (I think).

    > Datapumpdir: 'dfh.sh PREPROCESSOR'

    Modify the script above to include the following line as the second line of the script

    env | Tri o /tmp/capture.env

    view the contents of /tmp/capture.env return here after it gets filled

  • Timestamp of reading using the external Table

    Hello
    I have a data file that looks like
    2011-08-15 00:00:00.000000 | 23:59:59.999999 2011-08-15

    I am trying to use an external table. But I always get an error trying to read the fractional part (ie the last 6 digits).
    The code is:
    create table ext_table_fdw)
    DW_Open TIMESTAMP
    DW_Close TIMESTAMP
    )
    (external) Organization
    type oracle_loader
    the default directory ftp_in
    (settings) access
    records delimited by newline
    nologfile
    fields ended by ' |'
    missing field values are null
    (
    DW_OPEN Char Date_Format Timestamp mask 'Mon dd yyyy Hh:Mi:Ss:Ff6'
    DW_Close Char Date_Format Timestamp mask 'Mon dd yyyy Hh:Mi:Ss:Ff6'
    )
    )
    location ("fdwextract_copy.txt")
    )
    reject limit unlimited;

    I get this error:
    ORA-29913: error in executing ODCIEXTTABLEFETCH legend
    ORA-29400: data cartridge error
    Error opening file /u02/lpremia/ftp-in/EXT_TABLE_FDW_11948.bad

    Please help as it is very important for us to be able to read the last part of the timestamp.
    Thank you.
    Best regards
    Brinda

    user6361157 wrote:
    Hello
    I have a data file that looks like
    2011-08-15 00:00:00.000000 | 23:59:59.999999 2011-08-15
    DW_OPEN Char Date_Format Timestamp mask 'Mon dd yyyy Hh:Mi:Ss:Ff6'
    DW_Close Char Date_Format Timestamp mask 'Mon dd yyyy Hh:Mi:Ss:Ff6'

    The MASK is NOT March data!
    'YYYY-MM-DD HH24:MI:SS:Ff6 ".

Maybe you are looking for

  • AppleCare

    Hey everybody! I have a macbook pro as a graduation gift yesterday and when I tried to implement the AppleCare, I couldn't find the card or anything like that with the registration number on it... all I could find was that the getting started guide.

  • Can't see my music after upgrade

    I have upgraded to iOS 9.1 and now I can not accessmy music when I open the music app all I see the picture on my screen, a lady with headphones. Why is this?

  • RECOVARY

    I RESUMED MY PC WIN8

  • I am unable to open the drawer of the dvd can help you

    I inserted the DVD to transfer my photo file but now cannot open the drawer

  • Windows 7 automatically created ' Support' user account

    I have no idea how a user called 'Support' is created sometimes when I boot. I have a machine at home, and I'm the only person who uses it. The 'Support' user has administrative privileges also, so it worries me. I delete the user account and all the