Loading Data Using Outline Load Utility - Error

Trying to load some data using Outline Load Utility. I followed the Oracle documentation on this and Under the Administration -> Manage Data Load area I defined Accounts as data load dimension, and period as driver dimension. I then added Jan - Feb as driver members. I wanted to load data for Jan. My data header looks like this:
Accounts,Jan,Point-of-View,Data Load Cube Name
acct1, 768, "2010, Ver1, Actuals, entity1, etc" Plan1
The command i typed is this:
C:\Oracle\Middleware\user_projects\epmsystem1\Planning\planning1>outlineload /A:Plan1 /U:Admin /M /I:C:\MockData2.txt /D:Accounts /L:C:\dataload.log /X:c:\dataload.exc
I get the following errors:
[Mon Nov 22 11:03:02 CST 2010] Unrecognized column header value "Jan".
[Mon Nov 22 11:03:02 CST 2010] Unrecognized column header value "Point-of-View".
[Mon Nov 22 11:03:02 CST 2010] Unrecognized column header value "Data Load Cube Name".
[Mon Nov 22 11:03:02 CST 2010]Unable to obtain dimension information and/or perform a data load: Unrecognized column header value(s), refer to previous messages. (Note: column header values are case sensitive.)
[Mon Nov 22 11:03:02 CST 2010]Planning Outline data store load process finished with exceptions: not all input records were read due to errors (or an empty input file). 0 data records were read, 0 data records were processed, 0 were successfully loaded, 0 were rejected.
This is version 11.1.2. What am I doing wrong here? I also find it interesting that the command for data load and metadata load is the same as per oracle docs. I guess Planning knows if we're trying to load data or metadata based on the CSV file header?

I don't usually bother with loading data using the outline load utility but as a test on 11.1.2 using the planning sample application I gave it a quick go.
In planning, went to Administration > Data Load Settings > Picked Account as the data load dimension, Period as the driver dimension and selected Jan as a member
I created a file :-
Account,Jan,Point-of-View,Data Load Cube Name
TestMember,100,"Local,E05,Actual,NoSegment,Working,FY11",Consol
And used the following command line from the directory with the planning utilities
OutlineLoad /A:plansamp /U:admin /M /N /I:F:/temp/dload.csv /D:Account /L:F:/temp/outlineLoad.log /X:F:/temp/outlineLoad.exc
The log produced :-
[Tue Nov 23 10:02:01 GMT 2010]Successfully located and opened input file "F:\temp\dload.csv".
[Tue Nov 23 10:02:01 GMT 2010]Header record fields: Account, Jan, Point-of-View, Data Load Cube Name
[Tue Nov 23 10:02:01 GMT 2010]Located and using "Account" dimension for loading data in "plansamp" application.
[Tue Nov 23 10:02:01 GMT 2010]Load dimension "Account" has been unlocked successfully.
[Tue Nov 23 10:02:01 GMT 2010]A cube refresh operation will not be performed.
[Tue Nov 23 10:02:01 GMT 2010]Create security filters operation will not be performed.
[Tue Nov 23 10:02:01 GMT 2010]Examine the Essbase log files for status if Essbase data was loaded.
[Tue Nov 23 10:02:01 GMT 2010]Planning Outline load process finished (with no data load as specified (/N)). 1 data record was read, 1 data record was processed, 1 was accepted, 0 were rejected.
There you go no problems.
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • Need Help..!! Loading Data Using Outline Load Utility - No Data

    Hi All,
    I've tried to load data using Outline Load Utility but the data is not loaded into my Essbase.
    Here are the step what I've done :
    1. In planning, Administration > Data Load Settings
    - Entity as the data load dimension,
    - Account as the driver dimension and selected Rental, test_desc as the member
    2. The .csv file
    Entity, Rental, test_desc, Point-of-View,Data Load Cube Name
    TLT, 100, 100, "FY11,Plan,Working,No Product,No Condition Type,No Vehicle Type,No Term Period,No Term,No Movement, Local, Apr", Retail
    3. Run the Outline Load through cmd
    E:\Oracle\Middleware\user_projects\epmsystem1\Planning\planning1>OutlineLoad /A:PLNDEV /U:xyz /M /N /I:E:/testload.csv /D:Entity /L:E:/OutlineLogs /X:E:/outlineLoad.exc
    and below it the OutlineLogs :
    [Mon Jul 25 04:01:42 PDT 2011]Successfully located and opened input file "E:\testload.csv".
    [Mon Jul 25 04:01:42 PDT 2011]Header record fields: Entity, Rental, test_desc, Point-of-View, Data Load Cube Name
    [Mon Jul 25 04:01:42 PDT 2011]Located and using "Entity" dimension for loading data in "PLNDEV" application.
    [Mon Jul 25 04:01:42 PDT 2011]Load dimension "Entity" has been unlocked successfully.
    [Mon Jul 25 04:01:42 PDT 2011]A cube refresh operation will not be performed.
    [Mon Jul 25 04:01:42 PDT 2011]Create security filters operation will not be performed.
    [Mon Jul 25 04:01:42 PDT 2011]Examine the Essbase log files for status if Essbase data was loaded.
    [Mon Jul 25 04:01:42 PDT 2011]Planning Outline load process finished (with no data load as specified (/N)). 1 data record was read, 1 data record was processed, 1 was accepted, 0 were rejected.
    No data rejected there, but when I tried to retrieve the data from my Planning Form or Essbase Add-In, there is no data.
    Do I miss something in my step above..??
    Please advise.
    Thanks.
    Regards,
    VieN

    Hi John,
    thanks for reply..
    I'm not check the essbase log yet..
    From the OutlineLogs (Planning Outline load process finished (with no data load as specified (/N)). 1 data record was read, 1 data record was processed, 1 was accepted, 0 were rejected.), it doesn't mean the data successfully loaded, isn't it...??
    Thanks.
    Regards,
    VieN

  • Unable to load data through outline load utility

    I am unable to load data by using outline load utility.
    Assigned Data load dimension as: Account
    Driver Dimension as : Period
    Driver member as : Jan
    Login file:
    Account,Jan,Point-of-View,Data Load Cube Name
    Investment,1234,"India,Current,Drat,FY13",Plan1
    Command at Outline utility
    OutlineLoad /A:pract /U:admin /I:C:\test1.csv /D:Account /L:C:\lg.log /X:C:\ex.exc
    Exception file
    [Thu Mar 28 18:05:39 GMT+05:30 2013] Error occurred loading data record 1: Investments,1234,"""India,Current,Draft,FY14""",Plan1
    [Thu Mar 28 18:05:39 GMT+05:30 2013] com.hyperion.planning.InvalidMemberException: The member India,Current,Draft,FY14 does not exist or you do not have access to it.
    [Thu Mar 28 18:05:40 GMT+05:30 2013]Planning Outline data store load process finished with exceptions: exceptions occured, examine the exception file for more information. 1 data record was read, 1 data record was processed, 0 were successfully loaded, 1 was rejected.
    Logfile:
    Successfully logged into "pract" application, Release 11.113, Adapter Interface Version 5, Workforce supported and not enabled, CapEx not supported and not enabled, CSS Version 3
    [Thu Mar 28 18:05:38 GMT+05:30 2013]Successfully located and opened input file "C:\load.csv".
    [Thu Mar 28 18:05:38 GMT+05:30 2013]Header record fields: Account, Jan, Point-of-View, Data Load Cube Name
    [Thu Mar 28 18:05:38 GMT+05:30 2013]Located and using "Account" dimension for loading data in "pract" application.
    [Thu Mar 28 18:05:40 GMT+05:30 2013]Load dimension "Account" has been unlocked successfully.
    [Thu Mar 28 18:05:40 GMT+05:30 2013]A cube refresh operation will not be performed.
    [Thu Mar 28 18:05:40 GMT+05:30 2013]Create security filters operation will not be performed.
    [Thu Mar 28 18:05:40 GMT+05:30 2013]Examine the Essbase log files for status if Essbase data was loaded.
    [Thu Mar 28 18:05:40 GMT+05:30 2013]Planning Outline data store load process finished with exceptions: exceptions occured, examine the exception file for more information. 1 data record was read, 1 data record was processed, 0 were successfully loaded, 1 was rejected.
    Infact those members exist in the Outline.
    Any help would be appreciated.

    Check for the double quotes (the one John mentioned). Also I can see that you are taking the approach of Data Load dimension. Is Data load dimension and driver members defined correctly in Planning?
    Regards
    Celvin
    http://www.orahyplabs.com
    Please mark the answers as helpful/correct if applicable

  • Loading Dimensions using Outline Load utility in 11.1.2

    Hi All,
    I tried to use the Outline Load utility for loading dimensions in Planning (11.1.2). The file available is OutlineLoad.cmd.template. I tried running that but doesn't work. So i remaned it to OutlineLoad.cmd and tried but it still doesn't work. Have there been any changes regarding how to use it in 11.1.2?
    Cheers,
    Abhishek

    Hi John and Rahul,
    I navigated to the location mentioned by Rahul and entered "OutlineLoad.cmd.template". it just goes to the next line and another window opens up asking which program you want to use.
    If I enter only "OutlineLoad.cmd" so that it'll return the parameters I need to give, then it says "The syntax of the command is incorrect".
    What command do I need to give? Earlier in 11x, I would just enter "OutlineLoad.cmd" and it would give an error with the expected parameters.

  • Error in loading data using SQL loader

    I am getting a error like ‘SQL*Loader -350 syntax error of illegal combination of non-alphanumeric characters’ while loading a file using SQL loader in RHEL. The command used to run SQL*Loader is:
    Sqlldr userid=<username>/<password> control =data.ctl
    The control file, data.ctl is :
    LOAD data
    infile '/home/oraprod/data.txt'
    append  into table test
    empid terminated by ',',
    fname terminated by ',',
    lname terminated by ',',
    salary terminated by whitespace
    The data.txt file is:
    1,Kaushal,halani,5000
    2,Chetan,halani,1000
    I hope, my question is clear.
    Please revert with the reply to my query.
    Regards

    Replace ''{" by "(" in your control file
    LOAD data
    infile 'c:\data.txt'
    append  into table emp_t
    empid terminated by ',',
    fname terminated by ',',
    lname terminated by ',',
    salary terminated by whitespace
    C:\>sqlldr user/pwd@database control=c.ctl
    SQL*Loader: Release 10.2.0.3.0 - Production on Wed Nov 13 10:10:24 2013
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Commit point reached - logical record count 1
    Commit point reached - logical record count 2
    SQL> select * from emp_t;
         EMPID FNAME                LNAME                    SALARY
             1 Kaushal              halani                     5000
             2 Chetan               halani                     1000
    Best regards
    Mohamed Houri

  • Error while loading data using SQL*Loader

    Hi All,
    I am now in process of loading data from MS SQL to Oracle Database.
    I am getting the data in excel format and i will convert them into csv.
    Upto converting everything is working fine.
    In MS SQL, table columns are case sensitive.
    So i created those tables in oracle db as same.
    There is one column "MaxNumber" which is of type float(49).
    The column is case sensitive.
    in the control file first i given as
    "MaxNumber" "TO_NUMBER(:MaxNumber,'99,999.99')"
    After executing the SQL*Loader i am getting the error
    SQL*Loader-466: Column MAXNUMBER does not exist in table TABLEONE.
    I changed the control file entry as
    "MaxNumber" "TO_NUMBER(:"MaxNumber",'99,999.99')"
    After the execution i got the error
    SQL*Loader-350: Syntax error at line 13.
    Expecting "," or ")", found "MaxDiscount".
    "MaxNumber" "TO_NUMBER(:"MaxNumber",'99,999.99')"
    Please Guide me in this issue.
    Regards
    Salih KM

    What I'm saying is, verify the column name. Dont post if not possible.
    Example follows, with one table intentionally "hidden".
    SQL> create table "tEsT" ("MaxNumber" float, "MaxnumbeR" number);
    SQL> select table_name,column_name from user_tab_columns where table_name like 't%';
    TABLE_NAME                     COLUMN_NAME
    tEsT                           MaxNumber
    tEsT                           MaxnumbeR
    teST                           iD
    teST                           MaxNumberHth,
    Fredrik

  • Problem with loading data using SQL LOADER

    I am having following files with me when i run following command at command prompt
    sqlldr scott/tiger@genuat control =c:\emp.ctl
    then giving error as
    SQL Loader 500: unable to open file
    SQL Loader 553: file not found
    emp.dat file data
    1111,sneha,CLERK     7902,17-Dec-80,800,20
    2222,manoj,SALESMAN,7698,20-Feb-72     ,1600,6500,30
    3333,sheela,MANAGER,7839,8-Apr-81,2975,20     
    emp.ctl file
    LOAD DATA
    INFILE 'c:\emp.dat'
    APPEND
    INTO TABLE emp
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    (EMPNO,
    ENAME ,
    JOB,
    MGR,
    HIREDATE,
    SAL ,
    COMM,
    DEPTNO)
    can anyone tell me what is problem in above file why data is not loaded in table??

    I don't find any problem if you invoke the SQLLDR using the below command(and if you are certain that the control file resides in the C: drive).
    sqlldr scott/tiger@genuat control =c:\emp.ctl
    If this doesn't work then invoke the SQLLDR from the C: prompt itself.
    sqlldr scott/tiger@genuat control=emp.ctl
    It would locate the control file and check whether the sqlldr completes successfully?

  • Help needed to load data using sql loader.

    Hi,
    I trying to load data from xls to oracle table(solaris OS) and its failing to load data.
    Control file:
    LOAD DATA
    CHARACTERSET UTF16
    BYTEORDER BIG ENDIAN
    INFILE cost.csv
    BADFILE consolidate.bad
    DISCARDFILE Sybase_inventory.dis
    INSERT
    INTO TABLE FIT_UNIX_NT_SERVER_COSTS
    FIELDS TERMINATED BY ','
    TRAILING NULLCOLS
    HOST_NM,
    SERVICE_9071_DOLLAR DOUBLE,
    SERVICE_9310_DOLLAR DOUBLE,
    SERVICE_9700_DOLLAR DOUBLE,
    SERVICE_9701_DOLLAR DOUBLE,
    SERVICE_9710_DOLLAR DOUBLE,
    SERVICE_9711_DOLLAR DOUBLE,
    SERVICE_9712_DOLLAR DOUBLE,
    SERVICE_9713_DOLLAR DOUBLE,
    SERVICE_9720_DOLLAR DOUBLE,
    SERVICE_9721_DOLLAR DOUBLE,
    SERVICE_9730_DOLLAR DOUBLE,
    SERVICE_9731_DOLLAR DOUBLE,
    SERVICE_9750_DOLLAR DOUBLE,
    SERVICE_9751_DOLLAR DOUBLE,
    GRAND_TOTAL DOUBLE
    Log file:
    Table FIT_UNIX_NT_SERVER_COSTS, loaded from every logical record.
    Insert option in effect for this table: INSERT
    TRAILING NULLCOLS option in effect
    Column Name Position Len Term Encl Datatype
    HOST_NM FIRST * , CHARACTER
    SERVICE_9071_DOLLAR NEXT 8 DOUBLE
    SERVICE_9310_DOLLAR NEXT 8 DOUBLE
    SERVICE_9700_DOLLAR NEXT 8 DOUBLE
    SERVICE_9701_DOLLAR NEXT 8 DOUBLE
    SERVICE_9710_DOLLAR NEXT 8 DOUBLE
    SERVICE_9711_DOLLAR NEXT 8 DOUBLE
    SERVICE_9712_DOLLAR NEXT 8 DOUBLE
    SERVICE_9713_DOLLAR NEXT 8 DOUBLE
    SERVICE_9720_DOLLAR NEXT 8 DOUBLE
    SERVICE_9721_DOLLAR NEXT 8 DOUBLE
    SERVICE_9730_DOLLAR NEXT 8 DOUBLE
    SERVICE_9731_DOLLAR NEXT 8 DOUBLE
    SERVICE_9750_DOLLAR NEXT 8 DOUBLE
    SERVICE_9751_DOLLAR NEXT 8 DOUBLE
    GRAND_TOTAL NEXT 8 DOUBLE
    Record 1: Rejected - Error on table FIT_UNIX_NT_SERVER_COSTS, column HOST_NM.
    Field in data file exceeds maximum length
    Table FIT_UNIX_NT_SERVER_COSTS:
    0 Rows successfully loaded.
    1 Row not loaded due to data errors.
    0 Rows not loaded because all WHEN clauses were failed.
    0 Rows not loaded because all fields were null.
    Please help me ASAP.
    Awaiting u r reply.

    Hi,
    I verified and everything looks fine according to me.
    Table structure:
    OST_NM VARCHAR2(30)
    SERVICE_9071_DOLLAR NUMBER(8,2)
    SERVICE_9310_DOLLAR NUMBER(8,2)
    SERVICE_9700_DOLLAR NUMBER(8,2)
    SERVICE_9701_DOLLAR NUMBER(8,2)
    SERVICE_9710_DOLLAR NUMBER(8,2)
    SERVICE_9711_DOLLAR NUMBER(8,2)
    SERVICE_9712_DOLLAR NUMBER(8,2)
    SERVICE_9713_DOLLAR NUMBER(8,2)
    SERVICE_9720_DOLLAR NUMBER(8,2)
    SERVICE_9721_DOLLAR NUMBER(8,2)
    SERVICE_9730_DOLLAR NUMBER(8,2)
    SERVICE_9731_DOLLAR NUMBER(8,2)
    SERVICE_9750_DOLLAR NUMBER(8,2)
    SERVICE_9751_DOLLAR NUMBER(8,2)
    GRAND_TOTAL NUMBER(8,2)
    Control file:
    LOAD DATA
    BYTEORDER BIG ENDIAN
    INFILE cost.csv
    BADFILE consolidate.bad
    DISCARDFILE Sybase_inventory.dis
    INSERT
    INTO TABLE FIT_UNIX_NT_SERVER_COSTS
    FIELDS TERMINATED BY ','
    TRAILING NULLCOLS
    HOST_NM ,
    SERVICE_9071_DOLLAR NUMBER(8,2),
    SERVICE_9310_DOLLAR NUMBER(8,2),
    SERVICE_9700_DOLLAR NUMBER(8,2),
    SERVICE_9701_DOLLAR NUMBER(8,2),
    SERVICE_9710_DOLLAR NUMBER(8,2),
    SERVICE_9711_DOLLAR NUMBER(8,2),
    SERVICE_9712_DOLLAR NUMBER(8,2),
    SERVICE_9713_DOLLAR NUMBER(8,2),
    SERVICE_9720_DOLLAR NUMBER(8,2),
    SERVICE_9721_DOLLAR NUMBER(8,2),
    SERVICE_9730_DOLLAR NUMBER(8,2),
    SERVICE_9731_DOLLAR NUMBER(8,2),
    SERVICE_9750_DOLLAR NUMBER(8,2),
    SERVICE_9751_DOLLAR NUMBER(8,2),
    GRAND_TOTAL NUMBER(8,2)
    Sample date file:
    ABOS12,122.46,,1315.00,,1400.00,,,,,,,,1855.62,,4693.07
    ABOS39,6391.16,,1315.00,,1400.00,,,,,,,,,4081.88,13188.04

  • How to use Outline Load Utility with local encoding names of dimensions?

    Hi,
    I'd like to load metadata (dimensions members) to Planning classic application via Outline Load Utility.
    Target dimension name has been set in local encoding (cyrillic).
    After execution my batch file I get error that unable to find specified load dimension "????" in target application.
    Batch file has been created to start OutlineLoad in ANSI encoding:
    cd C:\Hyperion\products\Planning\bin
    OutlineLoad /A:testapp /U:admin /M /N /I:C:\Hyperion\TempOtlLoad\otl_tmc_alterna.csv /D:{dimNameInCiryllicEncoding} /L:C:/Hyperion/TempOtlLoad/outlineLoad.log /X:C:/Hyperion/TempOtlLoad/outlineLoad.exc
    TIMEOUT 10
    How to use Outline Load Utility with local encoding names of dimensions?

    Has somebody any idea about my question below ?
    Regards,
    Ed

  • [Load data from excel file [1]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009. There may be error messa

    Error
    [Load data from excel file [1]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009.  There
    may be error message
    I am using BIDS Microsoft Visual Studio 2008 and running the package to load the data from excel .
    My machine has 32 bit excel hence have set property to RUN64BITRUNTIME AS FALSE.
    But the error still occurs .
    I checked on Google and  many have used Delay validation property at Data flow task level to true but even using it at both excel connection manager and DFT level it doesnt work
    Mudassar

    Thats my connection string
    Provider=Microsoft.ACE.OLEDB.12.0;Data Source=E:\SrcData\Feeds\Utilization.xlsx;Extended Properties="Excel 12.0;HDR=NO";
    Excel 2010 installed and its 32 bit edition
    Are you referring to install this component -AccessDatabaseEngine_x64.exe?
    http://www.microsoft.com/en-us/download/details.aspx?id=13255
    Mudassar
    You can try an OLEDB provider in that case
    see
    http://dataintegrity.wordpress.com/2009/10/16/xlsx/
    you might need to download and install ms access redistributable
    http://www.microsoft.com/en-in/download/details.aspx?id=13255
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Server Hang While trying to load Data using SQLLDR

    Hi guru's
    OS Version: Centos 6 64 bit
    DB Version : 11gR2 64 bit
    When i am trying to load data using SQL ldr the loading in between hangs. As well as when i am trying to transfer text files which are approx 14Gb using winscp then it show me error as mentioned below:
    Host is not communicating for more than 15 seconds.Still waiting..............
    Not:if problem repeats , by turning off 'Optimize connection buffer size'
    Warning : Abort this operation will close the connection
    I talked to our n/w admin regarding the same problem
    He blaim that its due to oracle not by any n/w
    can anyone help me in this respect.

    Check MOS note :
    SQL*Loader Hangs After Start [ID 1186863.1]

  • Want to use sequence object of oracle when loading data in sql loader

    Hi,
    I want to use sequence when loading data in sqll loader, but the problem is i could not use sequence object of oracle to load the data by sql loader, i can use sequence of sql loader.
    I want to use sequence object because in later entries this sequence object will be used.If i use sequence of sql loader how can i use oracle sequence object
    Is there any other option

    I have a simillar problem, I also want to use a sequence when loading data by the SQL Loader.
    My control file is:
    load data
    infile '0testdata.txt'
    into table robertl.tbltest
    fields terminated by X'09'
    trailing nullcols
    (redbrojunos,
    broj,
    dolazak,
    odlazak nullif odlazak=blanks,
    komentar nullif komentar=blanks)
    And the datafile is:
    robertl.brojilo.nextval     1368     17.06.2003 08:02:46     17.06.2003 16:17:18     
    robertl.brojilo.nextval     2363     17.06.2003 08:18:18     17.06.2003 16:21:52     
    robertl.brojilo.nextval     7821     17.06.2003 08:29:22     17.06.2003 16:21:59     
    robertl.brojilo.nextval     0408     17.06.2003 11:20:27     17.06.2003 18:33:00     ispit
    robertl.brojilo.nextval     1111     17.06.2003 11:30:58     17.06.2003 16:09:34     Odlazak na ispit
    robertl.brojilo.nextval     6129     17.06.2003 14:02:42     17.06.2003 16:23:23     seminar
    But all records were rejected by the Loader, for every record I get the error:
    Record 1: Rejected - Error on table ROBERTL.TBLTEST, column REDBROJUNOS.
    ORA-01722: invalid number

  • Create & Load Attribute without Outline Load Utility? Add Many Attributes?

    1. Is it possible to create and load attribute dimensions without using Outline Load Utility? How?
    2. What is the fastest way to create and load attribute dimensions massively? (ex. 5000 attributes)
    p.s. I don't understand when John Goodwin says "reversing Planning application", could you please elaborate on that?

    N wrote:
    But if people want to keep their jobs in this economy or advance in their career in the world of IT, a better and faster way of learning and communicating is needed.So forums, blogs, documentation, training, LinkedIn, twitter, Facebook is not enough, basically if everything is handed to you on a plate then where is the benefit as you will not actually be learning.
    If you think something is missing then feel free to start up a social network instead of complaining that it doesn't exist.
    Also you want to start marking your posts helpful or correct instead of just expecting from the forum.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Loading data with dates using SQL*Loader

    Dear everyone
    I am currently trying to load some data containing dates using SQL*Loader.
    For termination of fields I have been using ^ because I have some book titles which contain " and ' as part of their title. I found that the TO_DATE function did not seem to work using ^ instead of ". Would I be correct? I think the Oracle manual says that " must be used.
    After some Web research I eventually amended my control file to as follows:
    load data
    infile 'h:\insert_statements\22_insert_into_SCAN_FILE_INFO.txt'
    REPLACE
    into table SCAN_FILE_INFO
    fields terminated by "," optionally enclosed by '^'
    TRAILING NULLCOLS
    (scan_id, scan_filename
    file_format_id
    orig_scanning_resolution_dpi
    scanner_id, scanner_operator_id
    scanning_date "TO_DATE (:scanning_date, 'YYYY-MM-DD')"
    original_map_publication_id
    reprint_publication_id)
    A simple line of data is as follow:
    280001, ^1910 - London^, 270001, 400, 250001, 260001, "TO_DATE('2007-06-06', 'YYYY-MM-DD')", 200019,
    The final column being null.
    However when I attempt that I get the following error message:
    Record 1: Rejected - Error on table SCAN_FILE_INFO, column SCANNING_DATE.
    ORA-01841: (full) year must be between -4713 and +9999, and not be 0
    If I change the scanning_date part to:
    scanning_date "EXPRESSION TO_DATE (:scanning_date, 'YYYY-MM-DD')",
    or
    scanning_date "CONSTANT TO_DATE (:scanning_date, 'YYYY-MM-DD')",
    I get the error message:
    Record 1: Rejected - Error on table SCAN_FILE_INFO, column SCANNING_DATE.
    ORA-00917: missing comma
    As soon as I do the following:
    scanning_date "EXPRESSION, TO_DATE (:scanning_date, 'YYYY-MM-DD')",
    or
    scanning_date "CONSTANT, TO_DATE (:scanning_date, 'YYYY-MM-DD')",
    I get too many values error message:
    Record 1: Rejected - Error on table SCAN_FILE_INFO.
    ORA-00913: too many values
    I also tested out scanning_date DATE "YYYY-MM-DD", but that just gave the same ORA-01841 error message as above.
    I must be doing something very simple which is wrong but I cannot figure it out.
    Kind regards
    Tim

    And why do you have scanning date as "TO_DATE('2007-06-06', 'YYYY-MM-DD')" in your infile? All you need is 2007-06-06. If you can not change infile generation code, use:
    load data
    infile 'h:\insert_statements\22_insert_into_SCAN_FILE_INFO.txt'
    REPLACE
    into table SCAN_FILE_INFO
    fields terminated by "," optionally enclosed by '^'
    TRAILING NULLCOLS
    (scan_id, scan_filename
    file_format_id
    orig_scanning_resolution_dpi
    scanner_id, scanner_operator_id
    scanning_date "TO_DATE(REPLACE(REPLACE(:scanning_date,'TO_DATE('),'''YYYY-MM-DD'')'), 'YYYY-MM-DD')"
    original_map_publication_id
    reprint_publication_id)SY.

  • Can we load data using .xls in user define format(without using default template)

    Hi All,
    I'm new bee to FDM. Part of HFM support i use FDM to load flatfile data. Just has a bit more knowledge than end user.
    Requirement is that i need to load data from MS excel to Planning application via FDM.
    Previously application is in Excel(Macro driven) and upstream(data) is also in Excel(multi tab).
    As of my knowledge data can be loaded from .csv file(Excel save as CSV) with single tab.
    Could you please let me know possibilities to load data from .xls(.xlsx) to FDM.
    Thanks in advance.

    If you want to load data using Excel, utilising FDM's out-of-the-box functionality you will have to use one of the templates supplied i.e. Excel Trial Balance or Excel Multi-load template.

Maybe you are looking for

  • Think Pad 600E 2645 4AU

    I recently received a near mint condition Thinkpad 600E for helping some old folks out with there computer problems. All my equipment is Lenovo (IBM); S20 workstation, X60 Thinkpad, and a recently retired (still works) IBM Intellistation Z pro dual P

  • Multi-values selection control configuration

    The multi-values selection control give the user the option to select values from 'right to left'. Is there a way to reverse it to 'left to right', like users are regular from other GUI applications? Even in OBIEE other cases, like delivers subscribe

  • I cant download mac os x 10.8.3 from the appstore. how can i download it?

    i am using mac osX 10.8.3 . i purched it when it was released. now i want a fresh installtion of it but i cant download ML from the appstore when it complete 20% appstore give an error like (you have already download it) . how can i download it?

  • Why are the SSL connections maxing out at 256?

    We are running a test and the maximum number of SSL connections keeps stopping at 256, even though the RQThrottle is set to 1024. For HTTP, we are able to get to 1024 connections. It appears that we are able to "burst" above 256 connections for SSL,

  • IChat AV works great... and then doesn't!

    Hi there! I recently began iChatting with my mom in the states who just bought a brand new iMac G5 with tiger and built in iSight. I'm musing a regular iSight and we had 2-3 conversations without difficulty. On Christmas day (australia) we were not a