Error while importing external table
Hello,
I am getting the following error message when trying to import an external table:
SQL Exception
SQL Exception
Repository Error:SQL Exception..
Class Name: CacheMediator.
Method Name: getDDEntryFromDB.
Repository Error Message: ORA-22992: cannot use LOB locators selected from remote tables
I am using the "import..."- function of "external tables" in warehouse target module. The external table is working correctly when accessing it via sqlplus.
We are using owb version 10.2.0.1.
Any help would be appreciated.
Best regards
Alexander
My friends, this a documented BUG into Metalink, but there is no solution.
I used a simple workaround:
1. I created the external table into the database;
2. I created the external table into the OWB repository;
3. I DIDN'T DEPLOY THE EXTERNAL TABLE TO THE DATABASE;
4. I used the external table into my mappings with no problems;
5. Finishing, I deployed my mappings to the database without any errors.
Hope to help!,
Gustavo.
Similar Messages
-
Error while importing a table index.
Hi,
We are facing a problem while importing an index to the production region. Below are the details.
1. A secondary index was created on standard SAP table ILOA in DEV region.
2. The Index was successfully moved to the Quality system, without any glitches.
3. Due to some issue (releated to testing, for which we had to revert back the changes), we had to delete the index on ILOA in the DEV region. The transports were moved to the PPD region and hence, the index on ILOA was deleted in PPD also.
4. Once the issue related to testing was resolved, we again created an index on the table ILOA and moved it to PPD.
All these 4 mentioned steps happened successfully and in PPD there was no error while importing the transports.
But, while moving the above transports to the Production region, there was an error :
"Index ILOA~Y could not be activated
(E - No index ILOA~Y found with status M)"
Please note that Y is the name of the index that was created on the table ILOA.
The error code that we have got is "8".
Can anyone please shed any light on what the issue is?? WE cannot re-import the transports in to Production without analysing this issue,because our client doesnt permit that.
Thanks and eagerly awaiting a kind reply.
Regards,
Raghavendra.You've three transports - one to create the index, one to delete, and one to recreate. It could be that the the third one tried to run before the database had finished with the second?
Have you looked on SE14 for the actual status on production of the index?
matt -
Error while Importing a Table in To Target Module
Hi All,
Iam getting follwong error msg while importing a table in OWB Target Module.
API4806: Object description is not allowed to be translated before object business name. Please give a translation to the business name first.
why I am getting this error ?
RajeshGuys,
I am able to solve the problem. I think the problem is Language settings difference between Database and OWB repository. -
Error while importing external Crystal report in SAP Business One
Hi Experts,
while importing External crystal report in SAP Business one i was unable to import the report and it is not displaying any error message or success Message but after completion if i click on the report i am getting an Error as
No Matching Records Found 'Queries' (OUQR) (ODBC-2028) Message[131-183]Hi,
Please refer SAP note:
1532509 - Cannot import Crystal Report template into SAP Business One
Thanks & Regards,
Nagarajan -
Error while Importing SQL Table's Metadata
Hi
I am creating an External defination of category "dbtab". when i try to import the table in 3rd step i get this error.
"Error occurred while attempting to connect to database".
I checked the JDBC channel, in the channel getting this error "Error processing request in sax parser: Error when executing statement for table/stored proc. 'metadataRequest' (structure 'statement'): java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Can't start a cloned connection while in manual transaction mode."
Please helpHi,
Check this discussion.
Re: JDBC Channel : Connection reset
Also try setting AutoCommit = true (Check box in the JDBC adapter)
Regards,
Ravi Kanth Talagana
Edited by: Ravi Kanth Talagana on Oct 27, 2009 11:07 AM -
Error: while Selecting External table
Hi everybody,
When i Select an external table i am getting this error. The file is like this:
229|1|506460|SIGROUP |4890|100|0|0|10:31:01|2007/12/17|M009|20191395001|L|B|12|CLIENT|INE547A01012|10:31:00|
229|1|506460|SIGROUP |4900|900|0|0|10:31:01|2007/12/17|M009|20191395001|L|B|13|CLIENT|INE547A01012|10:31:00|
229|1|500407|SWARAJENG |21400|300|0|0|10:33:28|2007/12/17|OWN|20191397001|L|B|154|OWN|INE277A01016|10:33:28|
I had created the Table like this:
SQL> CREATE TABLE TEMP_SAUDA
2 (S_A VARCHAR2(20),
3 S_TYPE VARCHAR2(20),
4 S_CO VARCHAR2(20),
5 S_CONAME VARCHAR2(40),
6 S_RATE NUMBER,
7 S_QTY NUMBER,
8 S_G NUMBER,
9 S_H NUMBER,
10 S_TIME TIMESTAMP WITH TIME ZONE,
11 S_DATE DATE,
12 S_PCODE VARCHAR2(20),
13 S_SETNO VARCHAR2(20),
14 S_M VARCHAR2(20),
15 S_N VARCHAR2(20),
16 S_O VARCHAR2(20),
17 S_CLIENTOWN VARCHAR2(10),
18 S_ISIN VARCHAR2(12),
19 S_ORDER_TIME TIMESTAMP WITH TIME ZONE
20 )
21 ORGANIZATION EXTERNAL
22 (TYPE oracle_loader
23 DEFAULT DIRECTORY BSE17122007
24 ACCESS PARAMETERS
25 (RECORDS DELIMITED BY NEWLINE
26 FIELDS
27 (
28 S_A CHAR(20),
29 S_TYPE CHAR(20),
30 S_CO CHAR(20),
31 S_CONAME CHAR(20),
32 S_RATE CHAR(20),
33 S_QTY CHAR(20),
34 S_G CHAR(20),
35 S_H CHAR(20),
36 S_TIME CHAR(35) date_format TIMESTAMP WITH TIMEZONE mask "DD-MON-RR HH.MI.SSXFF AM TZH:TZM
37 S_DATE CHAR(22) date_format DATE mask "mm/dd/yyyy hh:mi:ss ",
38 S_PCODE CHAR(20),
39 S_SETNO CHAR(20),
40 S_M CHAR(20),
41 S_N CHAR(20),
42 S_O CHAR(20),
43 S_CLIENTOWN CHAR(20),
44 S_ISIN CHAR(20),
45 S_ORDER_TIME date_format TIMESTAMP WITH TIMEZONE mask "DD-MON-RR HH.MI.SSXFF AM TZH:TZM"
46 )
47 )
48 location (BSE17122007:'BR171207.DAT')
49 )
50 ;
Table created.
SQL> SELECT * FROM TEMP_SAUDA;
SELECT * FROM TEMP_SAUDA
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 "date_format": expecting one of: "binary_double,
binary_float, comma, char, date, defaultif, decimal, double, float, integer, (,
nullif, oracle_date, oracle_number, position, raw, recnum, ), unsigned,
varrawc, varchar, varraw, varcharc, zoned"
KUP-01007: at line 21 column 14
ORA-06512: at "SYS.ORACLE_LOADER", line 19
Is there any mistake in this table creation.
what i have to declare to the time format if the format in the file id hh:mm:ss
Thank u...!
RaviThe output you posted is completely wrong, I could not even create the table without errors.
Try with this.
CREATE TABLE TEMP_SAUDA
(S_A VARCHAR2(20),
S_TYPE VARCHAR2(20),
S_CO VARCHAR2(20),
S_CONAME VARCHAR2(40),
S_RATE NUMBER,
S_QTY NUMBER,
S_G NUMBER,
S_H NUMBER,
S_TIME TIMESTAMP WITH TIME ZONE,
S_DATE DATE,
S_PCODE VARCHAR2(20),
S_SETNO VARCHAR2(20),
S_M VARCHAR2(20),
S_N VARCHAR2(20),
S_O VARCHAR2(20),
S_CLIENTOWN VARCHAR2(10),
S_ISIN VARCHAR2(12),
S_ORDER_TIME TIMESTAMP WITH TIME ZONE
ORGANIZATION EXTERNAL
(TYPE oracle_loader
DEFAULT DIRECTORY BSE17122007
ACCESS PARAMETERS
(RECORDS DELIMITED BY NEWLINE
FIELDS terminated by "|"
S_A CHAR(20),
S_TYPE CHAR(20),
S_CO CHAR(20),
S_CONAME CHAR(20),
S_RATE CHAR(20),
S_QTY CHAR(20),
S_G CHAR(20),
S_H CHAR(20),
S_TIME CHAR(8) date_format TIMESTAMP WITH TIMEZONE mask "HH.MI.SSXFF AM TZH:TZM",
S_DATE CHAR(10) date_format DATE mask "yyyy/mm/dd",
S_PCODE CHAR(20),
S_SETNO CHAR(20),
S_M CHAR(20),
S_N CHAR(20),
S_O CHAR(20),
S_CLIENTOWN CHAR(20),
S_ISIN CHAR(20),
S_ORDER_TIME char(8) date_format TIMESTAMP WITH TIMEZONE mask "HH.MI.SSXFF AM TZH:TZM"
location (BSE17122007:'BR171207.DAT')
;With this you get:
SQL> col s_time format a40
SQL> col s_date format a40
SQL> col s_order_time format a40
SQL> r
1* select s_time,s_date,s_order_time from temp_sauda
S_TIME S_DATE S_ORDER_TIME
01-JAN-08 10.31.01.000000 AM +00:00 17.DEC.2007 00:00:00 01-JAN-08 10.31.00.000000 AM +00:00
01-JAN-08 10.31.01.000000 AM +00:00 17.DEC.2007 00:00:00 01-JAN-08 10.31.00.000000 AM +00:00
01-JAN-08 10.33.28.000000 AM +00:00 17.DEC.2007 00:00:00 01-JAN-08 10.33.28.000000 AM +00:00Be aware that your file does not contain date information for the time fields, so as you see above it is defaulted to 01-JAN-08 for the S_TIME and S_ORDER_TIME column. -
Error while creating external table
Hi i tried to create external table. The table is created but while selecting that table it is throwing below errors
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04040: file Countries1.txt in EXT_TABLES not found
ORA-06512: at "SYS.ORACLE_LOADER", line 19I've created temp directory in window under oracle directory " C:\oracle\product\10.2.0\temp"
In the temp directory i've a text file countries1.txt
the text file has the below information
ENG,England,English
SCO,Scotland,English
IRE,Ireland,English
WAL,Wales,WelshI've connected to system user and created one directory and granted the read and write permissions to user SCOTT.
SQL> create or replace directory ext_tables as 'C:\oracle\product\10.2.0\temp\';
Directory created.
SQL> grant read,write on directory ext_tables to scott;
Grant succeeded.The creation of external table query is
CREATE TABLE countries_ext (
country_code VARCHAR2(5),
country_name VARCHAR2(50),
country_language VARCHAR2(50)
ORGANIZATION EXTERNAL (
TYPE ORACLE_LOADER
DEFAULT DIRECTORY ext_tables
ACCESS PARAMETERS (
RECORDS DELIMITED BY NEWLINE
FIELDS TERMINATED BY ','
MISSING FIELD VALUES ARE NULL
country_code CHAR(5),
country_name CHAR(50),
country_language CHAR(50)
LOCATION ('Countries1.txt')
PARALLEL 5
REJECT LIMIT UNLIMITED;And the error is
SQL> select *from countries_ext;
select *from countries_ext
ERROR at line 1:
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04040: file Countries1.txt in EXT_TABLES not found
ORA-06512: at "SYS.ORACLE_LOADER", line 19
SQL> Please help me in thisYou are missing something. Most probably the file does not exists in your specified path. This is working in my 10.2.0.3
Step1: Check the file is actually there.
C:\oracle\product\10.2.0>mkdir temp
C:\oracle\product\10.2.0>cd temp
C:\oracle\product\10.2.0\temp>dir
Volume in drive C is C_Drive
Volume Serial Number is 8A93-1441
Directory of C:\oracle\product\10.2.0\temp
07/30/2011 12:00 PM <DIR> .
07/30/2011 12:00 PM <DIR> ..
07/30/2011 12:00 PM 79 countries1.txt
1 File(s) 79 bytes
2 Dir(s) 50,110,582,784 bytes free
C:\oracle\product\10.2.0\temp>type countries1.txt
ENG,England,English
SCO,Scotland,English
IRE,Ireland,English
WAL,Wales,Welsh
C:\oracle\product\10.2.0\temp>Step 2: Creating the directory object.
SQL> show user
USER is "SYS"
SQL> SELECT * FROM v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
SQL> create or replace directory ext_tables as 'C:\oracle\product\10.2.0\temp';
Directory created.
SQL> grant read,write on directory ext_tables to scott;
Grant succeeded.
SQL>Step 3: Table definition.
C:\>sqlplus scott@orclsb/tiger
SQL*Plus: Release 10.1.0.4.2 - Production on Sat Jul 30 12:04:24 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> CREATE TABLE countries_ext (
2 country_code VARCHAR2(5),
3 country_name VARCHAR2(50),
4 country_language VARCHAR2(50)
5 )
6 ORGANIZATION EXTERNAL (
7 TYPE ORACLE_LOADER
8 DEFAULT DIRECTORY ext_tables
9 ACCESS PARAMETERS (
10 RECORDS DELIMITED BY NEWLINE
11 FIELDS TERMINATED BY ','
12 MISSING FIELD VALUES ARE NULL
13 (
14 country_code CHAR(5),
15 country_name CHAR(50),
16 country_language CHAR(50)
17 )
18 )
19 LOCATION ('Countries1.txt')
20 )
21 PARALLEL 5
22 REJECT LIMIT UNLIMITED;
Table created.
SQL> SELECT * FROM countries_ext;
COUNT COUNTRY_NAME
COUNTRY_LANGUAGE
ENG England
English
SCO Scotland
English
IRE Ireland
English
COUNT COUNTRY_NAME
COUNTRY_LANGUAGE
WAL Wales
Welsh -
Facing a problem with RFC Call receiver error while importing the table sap sandbox
Hi All,
I am trying to import a table from sap sand box . while importing it is showing below error..
RFC CallReceive error <Function DDIF_FIELDINFO_GET: RFC_ABAP_EXCEPTION-(Exception_Key: NOT_FOUND, No active nametab exists for /BIC/OHZ_ISP_SCX)[SAP NWRFC 720][SAP Partner 731 ][SCX][ics106046124][APOBODS][4103]>.
Please suggest me how can i overcome this problem ??Hi Kishore,
Can you quickly check with your SAP Basis Team whether they have installed necessary functions related to BODS on the SAP Application server.
Please check Supplement for SAP Guide
Regards
Arun Sasi -
Error while accessing External table.
Hi All,
While accessing oracle external table. I created the table with the following query.
CREATE OR REPLACE DIRECTORY load_dir AS '\\oraaps\Exceldata\'
CREATE TABLE my_sheet
DEPTNO NUMBER,
DNAME VARCHAR2(14),
LOC VARCHAR2(13)
ORGANIZATION EXTERNAL
TYPE oracle_loader
DEFAULT DIRECTORY load_dir
ACCESS PARAMETERS
RECORDS DELIMITED BY NEWLINE
badfile load_dir:'my_sheet.bad'
logfile load_dir:'my_sheet.log'
FIELDS TERMINATED BY ','
MISSING FIELD VALUES ARE NULL
DEPTNO,
DNAME,
LOC
LOCATION ('my_sheet.csv')
)REJECT LIMIT UNLIMITED;
I am sure that the table and the directory got created because i can see the table in the SQL developer. But whenever i say select * from my_sheet i'm getting the following error in the log file.
LOG file opened at 10/16/06 14:48:21
Field Definitions for table mysheet
Record format DELIMITED BY NEWLINE
Data in file has same endianness as the platform
Rows with all null fields are accepted
Fields in Data Source:
DEPTNO NUMBER Terminated by ","
Trim whitespace same as SQL Loader
DNAME VARCHAR2(14),
Terminated by ","
Trim whitespace same as SQL Loader
LOC VARCHAR2(13)
Terminated by ","
Trim whitespace same as SQL Loader
KUP-04001: error opening file \\oraaps\Exceldata\mysheet.csv
KUP-04017: OS message: The data is invalid.
Please do reply..Its urgent from my project deliverable point of view.
Any help appreciated.
Thanks and Regards.
V.Venkateswara RaoIt is not an Oracle error/problem. The error message is quite specific ito the actual root cause of the problem:
KUP-04001: error opening file \\oraaps\Exceldata\mysheet.csv
KUP-04017: OS message: The data is invalid.
These are operating system errors. The operating system cannot access/open/read the specific UNC and/or file.
Fix it at o/s level and it will work when Oracle needs to make that o/s call. -
Getting error while importing a table partition
Hi,
I am trying to import a table partition from OEM and occurred with following error:
Job IMPORT000042 has been reopened at Friday, 13 June, 2008 14:44
Restarting "SYSMAN"."IMPORT000042":
Processing object type TABLE_EXPORT/TABLE/TBL_TABLE_DATA/TABLE/TABLE_DATA
ORA-31693: Table data object "SCOTT"."CONTAINER":"PARTITION_5" failed to load/unload and is being skipped due to error:
ORA-06502: PL/SQL: numeric or value error
LPX-00210: expected '<' instead of 'n'
Job "SYSMAN"."IMPORT000042" completed with 1 error(s) at 14:44
Job state: COMPLETED
ThanksWhat's the source and target database Oracle version?
What's the character set of both databases? -
Syntax Error, while Creating External Table
Hi,
Can anyone tell this Syntax is correct or not. And how it look like:
CREATE TABLE emp_load (T_DATE DATE NOT NULL,
T_NO DOUBLE PRECISION,
T_TYPE CHAR(1),
T_CO VARCHAR(30),
T_CONTRACT DOUBLE PRECISION,
T_PARTY VARCHAR(15),
T_BILL_NO DOUBLE PRECISION,
T_BILL_DATE DATE,
T_QTY DOUBLE PRECISION,
T_RATE DOUBLE PRECISION,
T_BKG DOUBLE PRECISION NOT NULL,
T_TAX DOUBLE PRECISION,
T_OTHER DOUBLE PRECISION,
T_DIV DOUBLE PRECISION,
T_STAMPS DOUBLE PRECISION,
T_DC_NO DOUBLE PRECISION,
T_SPOT CHAR(2),
T_CITY VARCHAR(3),
T_ORDER DOUBLE PRECISION,
T_TRADE DOUBLE PRECISION,
T_TIME DATE,
T_FORM CHAR(1),
HEADER VARCHAR(2),
T_DC_DATE DATE,
T_POD VARCHAR(30),
T_POD_DATE DATE,
T_SET INTEGER,
T_MARGIN DOUBLE PRECISION NOT NULL WITH DEFAULT,
T_MKT_TYPE VARCHAR(3) NOT NULL,
T_MEMBER_CODE VARCHAR(15),
T_EXIM SMALLINT,
T_P VARCHAR(15),
T_C VARCHAR(30),
T_TERM VARCHAR(8),
T_CUST VARCHAR(12),
T_SUBBKG DOUBLE PRECISION,
T_BILL_TYPE VARCHAR(1),
T_OPN_CLS DOUBLE PRECISION,
T_AUCTION DOUBLE PRECISION,
T_BRANCH VARCHAR(8),
T_UNQID VARCHAR(20),
T_SQ SMALLINT,
T_CBKG DOUBLE PRECISION,
T_COTHER DOUBLE PRECISION,
T_MOD DATE,
T_ORIG_CUST VARCHAR(20),
T_TOT DOUBLE PRECISION,
T_FIRM SMALLINT,
T_ORDER_TIME DATE,
T_NON_MT SMALLINT)
ORGANIZATION EXTERNAL (TYPE ORACLE_LOADER DEFAULT DIRECTORY ext_tab_dir
ACCESS PARAMETERS (RECORDS FIXED 62 FIELDS (T_DATE DATE NOT NULL,
T_NO DOUBLE PRECISION,
T_TYPE CHAR(1),
T_CO VARCHAR(30),
T_CONTRACT DOUBLE PRECISION,
T_PARTY VARCHAR(15),
T_BILL_NO DOUBLE PRECISION,
T_BILL_DATE DATE,
T_QTY DOUBLE PRECISION,
T_RATE DOUBLE PRECISION,
T_BKG DOUBLE PRECISION NOT NULL,
T_TAX DOUBLE PRECISION,
T_OTHER DOUBLE PRECISION,
T_DIV DOUBLE PRECISION,
T_STAMPS DOUBLE PRECISION,
T_DC_NO DOUBLE PRECISION,
T_SPOT CHAR(2),
T_CITY VARCHAR(3),
T_ORDER DOUBLE PRECISION,
T_TRADE DOUBLE PRECISION,
T_TIME DATE,
T_FORM CHAR(1),
HEADER VARCHAR(2),
T_DC_DATE DATE,
T_POD VARCHAR(30),
T_POD_DATE DATE,
T_SET INTEGER,
T_MARGIN DOUBLE PRECISION NOT NULL WITH DEFAULT,
T_MKT_TYPE VARCHAR(3) NOT NULL,
T_MEMBER_CODE VARCHAR(15),
T_EXIM SMALLINT,
T_P VARCHAR(15),
T_C VARCHAR(30),
T_TERM VARCHAR(8),
T_CUST VARCHAR(12),
T_SUBBKG DOUBLE PRECISION,
T_BILL_TYPE VARCHAR(1),
T_OPN_CLS DOUBLE PRECISION,
T_AUCTION DOUBLE PRECISION,
T_BRANCH VARCHAR(8),
T_UNQID VARCHAR(20),
T_SQ SMALLINT,
T_CBKG DOUBLE PRECISION,
T_COTHER DOUBLE PRECISION,
T_MOD DATE,
T_ORIG_CUST VARCHAR(20),
T_TOT DOUBLE PRECISION,
T_FIRM SMALLINT,
T_ORDER_TIME DATE,
T_NON_MT SMALLINT))
LOCATION ('BR271107.DAT'))
Error at Command Line:28 Column:40
Error report:
SQL Error: ORA-00905: missing keyword
00905. 00000 - "missing keyword"
Thank u..!
RaviWhere can we find that directory in the server. You have to provide for it's existence.
So you must create C:/Oracle on the server or have your ext_tab_dir point to some existing directory on the server (better if dedicated to external tables for not creating confusion)
You must also see to have read and write OS rights and have granted read (and write) privileges on directory ext_tab_dir to your_user_name
Regards
Etbin
If you can use utl_file try to use utl_file_dir as your ext_tab_dir to perform the test => copy your file to the directory your utl_file_dir is pointing to and do select * from test
Message was edited by: Etbin
user596003 -
Error while using External Table
Hi Guru's,
I am using external tables in my procedure and the code to create it will be dynamically built inside the procedure itself. I have tested it so many times and it works fine only. But suddenly now it is throwing some error and i was not able to figure out the problem.
Additional Info:
1. I have provided the full rights to the input directory.
2. Working in Oracle 10g release 2
3. Unix OS in server
4. Error description:
<< UK_TRADINGDATA_LOAD >> ABEND : <<ABEND SYS-000 >> uncatched ORACLE-error : ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04040: file EXTRACTION COMPLETED in EXT_UK_TRADINGDATA not found
v_ac_sql:='CREATE TABLE VLDPROCESS'||gv_ac_schema_suffix||'.EXT_UK_TRAD_'||gv_ac_machineid ||'_'||gv_ac_retailer_id||'_ADHOC'||CHR(10)
||'( AC_RETAILER_ID VARCHAR2(2 BYTE),'||CHR(10)
||'AC_DEPARTMENT_CD VARCHAR2(20 BYTE),'||CHR(10)
||'NC_PERIOD_FROM NUMBER,'||CHR(10)
||'NC_PERIOD_TO NUMBER'||CHR(10)
||')'||CHR(10)
||'ORGANIZATION EXTERNAL'||CHR(10)
||'(TYPE ORACLE_LOADER'||CHR(10)
||'DEFAULT DIRECTORY EXT_UK_TRADINGDATA'||CHR(10)
||'ACCESS PARAMETERS'||CHR(10)
||'(RECORDS DELIMITED BY NEWLINE'||CHR(10)
||'badfile '''||v_ac_failed_files||'.bad'''||CHR(10)
||'discardfile '''||v_ac_failed_files||'.dis'''||CHR(10)
||'logfile '''||v_ac_failed_files||'.log'''||CHR(10)
||'FIELDS'||CHR(10)
||'('||CHR(10)
||'AC_RETAILER_ID position( 1: 2) char( 2),'||CHR(10)
||'AC_DEPARTMENT_CD position( 3:22) char(20),'||CHR(10)
||'NC_PERIOD_FROM position(23:29) char( 7),'||CHR(10)
||'NC_PERIOD_TO position(30:36) char( 7)'||CHR(10)
||')'||CHR(10)
||')'||CHR(10)
||'LOCATION ('''||v_ac_file_name ||''')'||CHR(10)
||')'||CHR(10)
||'REJECT LIMIT 100'||CHR(10)
||'NOPARALLEL'||CHR(10)
||'NOMONITORING';
EXECUTE IMMEDIATE v_ac_sql; Kindly help me!
With Regards,
VJSometimes when troubleshooting issues like this it is helpful to output the dynamic SQL generated to the screen or spool it to a text file. From there it's usually easy to determine where the problem lies.
If you can provide that one of the forum members can figure it out. -
OWB 10g R1 : Error while accessing External Table
Dear All,
We have created few external and registered them using os user oracle.
Now , we have changed to user 'oratester' and reregistered the location.
oratester is having all the rights on the folder which the external table is refering.
Still , we are facing with the following error:
ORA-29913: error in executing ODCIEXTTABLEOPEN callout ORA-29400: data cartridge error KUP-04063: unable to open log file log_test.txt OS error Permission denied
If anybody is having any idea how to solve this error, please reply
Thanks in Advance
malleyah. Ive configured the accessing parameters.
The code generated , has the following
ACCESS PARAMETERS (
RECORDS DELIMITED BY NEWLINE
CHARACTERSET WE8MSWIN1252
STRING SIZES ARE IN BYTES
BADFILE ALL_DB_LOC_CMN_FLS_LOG_LOC:'bad_central.txt'
DISCARDFILE ALL_DB_LOC_CMN_FLS_LOG_LOC:'discard_central.txt'
LOGFILE ALL_DB_LOC_CMN_FLS_LOG_LOC:'log_central.txt'
FIELDS
TERMINATED BY '~'
OPTIONALLY ENCLOSED BY '"' AND '"'
Which OS does oracle use to create log/bad files? -
Error while importing the tables from MySQL using the data source connection
Hi,
I am trying to import tables from MySQL into Powerpivot using the data source connection, if use the import using the Query option its working fine but not with the select list of table option.
when i click on the select list of tables option, i get the below error after selecting all the tables to be imported:
OLE DB or ODBC error.
An error occurred while processing table 'XXXXXXXXXX'.
The current operation was cancelled because another operation in the transaction failed.Hi Bharat17an,
Please provide the detail information when create the MySQL connection in your PowerPivot model. Here is a good article regarding "how to Use MySQL and Microsoft PowerPivot Together" for your reference, please see:
http://www.datamensional.com/2011/09/how-to-use-mysql-and-microsoft-powerpivot-together-2/
If this issue still persists, please help to collection windows event log information. It maybe helpful for us to troubleshoot this issue.
Regards,
Elvis Long
TechNet Community Support -
Hi experts...
My export dump is around 300GB , which is taken from Direct path.
One of my developer had mistakenly dropped a table and I am trying to import it. when I am importing I am getting folllowing error in log file...
Export file created by EXPORT:V09.02.00 via direct path
import done in US7ASCII character set and AL16UTF16 NCHAR character set
import server uses WE8ISO8859P1 character set (possible charset conversion)
IMP-00051: Direct path exported dump file contains illegal column length
IMP-00008: unrecognized statement in the export file:
M-~M-^?M-~M-^?M-~M-^?M-~M-^?^A
IMP-00008: unrecognized statement in the export file:
IMP-00008: unrecognized statement in the export file:
IMP-00008: unrecognized statement in the export file:
IMP-00008: unrecognized statement in the export file:
IMP-00008: unrecognized statement in the export file:
IMP-00008: unrecognized statement in the export file:
IMP-00008: unrecognized statement in the export file:
IMP-00008: unrecognized statement in the export file:
IMP-00008: unrecognized statement in the export file:
IMP-00008: unrecognized statement in the export file:
IMP-00008: unrecognized statement in the export file:
IMP-00008: unrecognized statement in the export file:
I am using following command...
imp system/<password>file=<dumpfile>.dmp log=<logfile>.log tables=<table_name> fromuser=<>touser=<> GRANTS=N indexes=N;
Please help me import it successfully.
Thnaks in advance ...
chotuThis sort of error is mentioned on MetaLink. It's possibly a bug with exp, and various "workarounds" can be found on the Web for the bug. You seem to be using an ancient vesion of Oracle, so why not upgrade? Meanwhile, the solutions seem to be to set RECORDLENGTH=65000 CONSTRAINTS=Y, checking that unused columns are dropped, and probably lot smore. You could try exporting/importing again, in case it was a one-off "wobbly".
Maybe you are looking for
-
Can't back up using Time Machine/Time Capsule
I just bought a new macBook (13") and it set up perfectly. My only problem is that I cannot seem to get Time Machine to run (or even connect) to my Time Capsule. I can see the device and can select it. I input the TC password etc. and after about 10-
-
Pro Video Formats 2.0.1 appeared in my App Store a few weeks back (I'm running an 2011 MBP with 10.10.4 and have been using the betas). I installed it, and it continues to appear as an update every day. No matter how many times I install it, it conti
-
Logic for monthly quarterly yearly basis for ar eport
hi , i need to run a report (which shows sales order number and creation date based on erdat entered in selection screen) in back ground. for that i have to develop a wrapper program which calls the main program and executes it. i can do th
-
Hi Gurus, I am new to ESS-MSS, my client is implementign this module. Can any one please tell me what r the steps to active Work Flows to trigger mails for "Absence/Attendance application in ESS" by employee and for CATS Time sheet filling & its app
-
Execute HCM Process and Forms on Enterprise Portal ?
Hi Experts, I have done a scenario on Employee Relocation Process with the reference of the tutorial specified in help.sap.com. [Here's the link|http://help.sap.com/erp2005_ehp_04/helpdata/EN/fe/1bd54243063658e10000000a155106/frameset.htm] in HCM Pr