Oracle 29913 Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this ora-29400: data cartridge error site About Us Learn more about Stack Overflow the company Business Learn
Ora-29913: Error In Executing Odciexttablefetch Callout Ora-30653: Reject Limit Reached
more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x
Ora-29913 Error In Executing Odciexttableopen Callout Ora-29400 Data Cartridge Error Kup-04040
Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up ORA-29913:
Kup-00554: Error Encountered While Parsing Access Parameters
error in executing ODCIEXTTABLEOPEN callout when inserting csv into oracle up vote 1 down vote favorite I'm trying to execute this code in PL/SQL: create or replace directory ext_tab_dir as 'C:/mydir'; GRANT READ,WRITE ON DIRECTORY ext_tab_dir TO PUBLIC; DROP TABLE emp_load; CREATE TABLE emp_load (v1 VARCHAR2(4000), v2 VARCHAR2(4000) ) ORGANIZATION EXTERNAL ( TYPE ORACLE_LOADER DEFAULT DIRECTORY ext_tab_dir ACCESS PARAMETERS ( RECORDS DELIMITED BY NEWLINE ora-29913 error in executing odciexttableopen callout impdp BADFILE ext_tab_dir:'bad.bad' LOGFILE ext_tab_dir:'log.log' FIELDS TERMINATED BY ',' ) LOCATION ('testfile.csv') ); -- INSERT INTO tablename(v1,v2) SELECT * From emp_load and then getting next errors: ORA-29913: error in executing ODCIEXTTABLEOPEN callout ORA-29400: data cartridge error error opening file C:/mydir/log.log I do get that it has to do something with permissions, but I'm the one who created that directory, so how do I grant priveleges to myself if it is set like this by default? Is there any way to perform that sort of operation from PL/SQL? oracle csv plsql share|improve this question edited Dec 1 '14 at 14:47 slavoo 2,78192029 asked Dec 1 '14 at 14:45 Nikita Buriak 25118 1 What's the content of the LOGFILE? –Marco Baldelli Dec 1 '14 at 15:38 1 It's not in there as if it doesn't create itself, and If I do that manually it is empty. –Nikita Buriak Dec 2 '14 at 9:47 1 Try writing the path with backslahes: C:\mydir\log.log –Marco Baldelli Dec 2 '14 at 13:51 add a comment| 1 Answer 1 active oldest votes up vote 2 down vote accepted Try something like this. GRANT SELECT, INSERT,
Group CommunityTopliners CommunityOTN Speaker BureauJava CommunityImagine ItSee ItDo ItCode ItKnow ItDream ItApp CloudError: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page. 29913. 00000 - "error in executing %s callout" Please enter a title. You can not post a blank message. Please type ora-29913 error in executing odciexttablefetch callout during import your message and try again. More discussions in Pune People All PlacesPune People 0 Replies Latest reply on Jul kup-04001: error opening file 6, 2016 8:35 AM by kulsam ORA-29913: error in executing ODCIEXTTABLEOPEN callout + ORA-29400: data cartridge error + KUP-11010: unable to open at least one dump file for fetch kulsam Jul 6, http://stackoverflow.com/questions/27230879/ora-29913-error-in-executing-odciexttableopen-callout-when-inserting-csv-into-o 2016 8:35 AM Ours is a RAC environment. We have 2 nodes. We created a Directory and gave Read/Write Permission to the newly created directory.CREATE OR REPLACE DIRECTORY DB_ETL_DIR AS '/nas/etl_cn_data/ETL/data';GRATN READ, WRITE ON DIRECTORY DB_ETL_DIR TO DB_ETL_USERCreated EXternal Table -CREATE TABLE DB_ETL_USER.EXT_ABC( COLUMN_1 VARCHAR2(34 CHAR), COLUMN_2 CHAR(3 CHAR), COLUMN_3 NUMBER(1), COLUMN_4 DATE, COLUMN_5 NUMBER(1),)ORGANIZATION EXTERNAL ( TYPE ORACLE_DATAPUMP DEFAULT DIRECTORY DB_ETL_DIR ACCESS https://community.oracle.com/thread/3947272 PARAMETERS ( NOLOGFILE ) LOCATION (DB_ETL_DIR:'EXT_ABC.dmp') )REJECT LIMIT 0;We try to access the external table using below code - DECLARE v_file BFILE := BFILENAME ('DB_ETL_DIR', 'EXT_ABC.dmp'); l_dummy varchar2(10); BEGIN IF DBMS_LOB.FILEEXISTS (v_file) = 1 THENDBMS_OUTPUT.PUT_LINE ('File exists.');BeginEXECUTE IMMEDIATE ' SELECT NULL '|| ' FROM EXT_ABC' || ' WHERE ROWNUM = 1 ' INTO l_dummy;EXCEPTIONWHEN OTHERS THEN DBMS_OUTPUT.PUT_LINE (SUBSTR(SQLERRM(SQLCODE),1,200)); DBMS_OUTPUT.PUT_LINE (SUBSTR(DBMS_UTILITY.FORMAT_ERROR_BACKTRACE,1,200));End; ELSIF DBMS_LOB.FILEEXISTS (v_file) = 0 THENDBMS_OUTPUT.PUT_LINE ('File does not exist');ELSE DBMS_OUTPUT.PUT_LINE ('Unable to test existence'); END IF; END;From Node 1 it gives me below error. Whereas when I try to read the external table from Node 2 I am able to access it.ORA-29913: error in executing ODCIEXTTABLEOPEN callout ORA-29400: data cartridge error KUP-11010: unable to open at least one dump file for loadRequest Help to sort this issue. I have the same question Show 0 Likes(0) 263Views Tags: none (add) ora-29913: error in executing odciexttableopen calloutContent tagged with ora-29913: error in executing odciexttableopen callout This content has been marked as final. Show 0 replies Actions About Oracle Technology Network (OTN)My Oracle Support Community (MOSC)MOS Support PortalAboutModern Marketing BlogRSS FeedPowered byOracle Technology NetworkOracle Communities DirectoryFAQAbout OracleOracle and SunRSS FeedsSu
CommunityOracle User Group CommunityTopliners CommunityOTN Speaker BureauJava CommunityError: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this https://forums.oracle.com/thread/1132489 page. Please enter a title. You can not post a blank message. Please type your message and try again. More discussions in PL/SQL and SQL All PlacesDatabaseDatabase Application DevelopmentPL/SQL http://dbaforums.org/oracle/index.php?showtopic=23029 and SQL This discussion is archived 12 Replies Latest reply on Sep 18, 2010 11:43 AM by user8731258 ORA-29913: error in executing ODCIEXTTABLEOPEN callout user8731258 Sep 17, 2010 11:27 error in AM create table external (empno number(4), ename varchar2(10), job varchar2(9), mgr number(4), hiredate date, sal number, comm number, deptno number(2) ) organization external (type oracle_loader default directory data_dir access parameters (fields terminated by ',') location('emp.dat') ) / table createdBut when i run the statement sql>select count(*) from external;i get an error {error} ERROR at line 1: ORA-29913: error error in executing in executing ODCIEXTTABLEOPEN callout ORA-29400: data cartridge error KUP-04063: unable to open log file EXTERNAL_4295.log OS error No such file or directory ORA-06512: at "SYS.ORACLE_LOADER", line 19 {error} I have the same question Show 0 Likes(0) 3188Views Tags: none (add) 10gContent tagged with 10g This content has been marked as final. Show 12 replies 1. Re: ORA-29913: error in executing ODCIEXTTABLEOPEN callout MaheshKaila Sep 17, 2010 11:35 AM (in response to user8731258) 1) Create table with below script CREATE TABLE EXTERNAL ( EMPNO NUMBER(4), ENAME VARCHAR2(10 CHAR), JOB VARCHAR2(9 CHAR), MGR NUMBER(4), HIREDATE DATE, SAL NUMBER, COMM NUMBER, DEPTNO NUMBER(2) ) ORGANIZATION EXTERNAL ( TYPE ORACLE_LOADER DEFAULT DIRECTORY data_dir ACCESS PARAMETERS ( RECORDS DELIMITED BY NEWLINE FIELDS TERMINATED BY ',' ) LOCATION (data_dir:'emp.dat') )2) Put emp.dat on data_dir directory. Regards, Mahesh Kaila Edited by: Mahesh Kaila on Sep 17, 2010 5:05 PM Like Show 0 Likes(0) Actions 2. Re: ORA-29913: error in executing ODCIEXTTABLEOPEN callout user8731258