Loading data ODI

Hi all
I need to load data into Planning ODI.
The data file contains elements of the bouble (account) as different values for the junction and now ODI loading contanis forst items it finds when loading and reject the other.
In this regard, I would like to know if it is possbile with ODI load data using the sum for this bouble elements.

Thanks for the help.

Best regards
Eugenio Gualtieri

Hello

I think I see what you're saying, each record is getting crushed in planning rather than be accumulated.

You can get ODI to do the work for you, what you should do first: -.

In your source data store (which I assume is a file) make sure the W01 and W02 columns are the numeric value and not string
In your target data store (the planning dimension) make sure the W02 and W02 columns are set in digital.

In your interface in the target for the W01 W02 columns you must surround what you currently have with SUM (column)

for example if you source called WIRE
the goal for W01 would SUM (THREAD. W01) and for W02, she would SUM (FILE.) W01)
because you use the SUM function, it automatically creates a group of query that summarize the results.

See you soon

John
http://John-Goodwin.blogspot.com/

Tags: Business Intelligence

Similar Questions

  • Error of the ODI - running MaxL in loading data ODI

    I have an ODI Interface that works very well to load data in an Essbase Cube.  However I had to add a stage that could run a calc script before loading to clear data from the current year and the period.   I built the MaxL script and successfully tested and it works ok. However in the options on my target in the flow section, I added this entry:

    PRE_LOAD_MAXL_SCRIPT: C:\ODI_Data\Scripts\MaxL\clr_act.mxl

    When I try and run I get the below error.  Any ideas what it could be?  He says the full path of the MaxL script so I thought that's the way they wanted.  That's the problem, I have no reference correctly?

    org.apache.bsf.BSFException: exception of Jython:

    Traceback (most recent call changed):

    File "< string >", line 89, < module >

    at com.hyperion.odi.essbase.ODIEssbaseConnection.executeMaxl (unknown Source)

    at com.hyperion.odi.essbase.AbstractEssbaseWriter.beginLoad (unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: error occurred while running script maxl. Error message is:

    at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)

    at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:322)

    at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2472)

    at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:47)

    at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)

    at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)

    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)

    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)

    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)

    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)

    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)

    at java.lang.Thread.run(Thread.java:662)

    Caused by: Traceback (most recent call changed):

    File "< string >", line 89, < module >

    at com.hyperion.odi.essbase.ODIEssbaseConnection.executeMaxl (unknown Source)

    at com.hyperion.odi.essbase.AbstractEssbaseWriter.beginLoad (unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: error occurred while running script maxl. Error message is:

    at org.python.core.PyException.fillInStackTrace(PyException.java:70)

    at java.lang.Throwable. < init > (Throwable.java:181)

    at java.lang.Exception. < init > (Exception.java:29)

    to java.lang.RuntimeException. < init > (RuntimeException.java:32)

    to org.python.core.PyException. < init > (PyException.java:46)

    to org.python.core.PyException. < init > (PyException.java:43)

    at org.python.core.Py.JavaError(Py.java:455)

    at org.python.core.Py.JavaError(Py.java:448)

    at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:177)

    at org.python.core.PyObject.__call__(PyObject.java:355)

    at org.python.core.PyMethod.__call__(PyMethod.java:215)

    at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:221)

    at org.python.core.PyMethod.__call__(PyMethod.java:206)

    at org.python.core.PyObject.__call__(PyObject.java:397)

    at org.python.core.PyObject.__call__(PyObject.java:401)

    to org.python.pycode._pyx0.f$ 0 (< string >: 89)

    to org.python.pycode._pyx0.call_function (< string >)

    at org.python.core.PyTableCode.call(PyTableCode.java:165)

    at org.python.core.PyCode.call(PyCode.java:18)

    at org.python.core.Py.runCode(Py.java:1204)

    at org.python.core.Py.exec(Py.java:1248)

    at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:172)

    at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)

    ... 19 more

    Caused by: com.hyperion.odi.essbase.ODIEssbaseException: error occurred while running script maxl. Error message is:

    at com.hyperion.odi.essbase.ODIEssbaseConnection.executeMaxl (unknown Source)

    at com.hyperion.odi.essbase.AbstractEssbaseWriter.beginLoad (unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:175)

    ... more than 33

    Caused by: com.essbase.api.base.EssException: error occurred while running script maxl. Error message is:

    at com.hyperion.odi.essbase.wrapper.EssbaseConnection.executeMaxl (unknown Source)

    ... more than 40

    Log in to Oracle Support, and then search for the document 1152893.1

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • Error loading data ODI

    Hi John,.

    I tried to load data from the file .csv to essbase. But the following error occurs

    AttributeError: class 'com.hyperion.odi.common.ODIConstants' has no attribute 'PRE_LOAD_MAXL_SCRIPT '.

    I kept the pre load MAXL script as a default value in the properties of the IKM.

    Please suggest.

    Thank you
    Sravan

    All that help and only one marked as helpful answer, you will maybe more generious than what I spend a lot of time trying to help :)

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • should we empty loading data ODI and move to "Load rules" of Essbase?

    Hello
    We use to load data in planning 11.1.1.3's ODI Essbase cubes.
    Should move us data loading ODI on "Load rules" of Essbase?
    We see no advantage to ODI over aid maxl Essbase calls script loading rules and calc scripts.
    One thing he has the advantage on Essbase, is that it can refresh planning. Can you load supporting details and the text in the cell?

    You have data from multiple sources, say some data sets are file bases, some are stored in warehouses or books of accounts, you want to collect these data, transform and apply the mapping, to load that data into essbase, you can add Automation around her then that is an example to use ODI to load data into essbase There are many others.
    Yes you can do it with maxl, but must eventually bring about more strive to add automation, mappings, error handling etc. as you would if you have walked the path of ODI.
    I do not say that you must use it, if you don't see any profit is meaningless.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • ODI - 1228:Task Load Data - LKM File to SQL-fails on the connection target: table or view does not exist

    While performing a mapping (present in the package) that loads the file to table data, my mapping is being failed in the step - LKM file with above mentioned SQL error.

    This task is running for 30 candy Mint and loading data about 30 to 40 million for the temporary table of C$ ODI.

    Before the completion of the task is to make failure and also C$ table is also get deleted.

    Any possible resolution for above mentioned the issue?

    Problems have been solved.

    In our case, the prefix of all the data store name has been SRC_ so the nickname of all the data store became SRC, and the table name C$ depends on the daatastore Alias.

    So for executing two mapping tables $ CAN have been getting dropped by other mapping due to the same table name $ CAN.

    Change the Alias name giving it a unique name solve the problem.

  • ODI 11 g to load data to Hyperion - error ODI-1228

    Hi friends,

    I'm using ODI 11 g to load the data for Hyperion Essbase using the "memory Sunopsis Staging Area table engine', I several created interfaces, but some have failed at the third stage of the process '3 - Carga - SrcSet0 - Load data'.

    Number of interfaces I created worked without problems by using the same configuration, topology, and KM, I thought that the problem was created by the file this extraction I´m. Ce file failed in other interfaces, but if I dupplicate the last line of the file (copy and paste at the end) interfaces for the file is complete.

    After the first appearance of the error, I created other interfaces, most of them works without problem, but a couple of them generates exactly the same error as one explained using different files.

    I use:

    ODI 11 g 11.1.1.5.2.

    IKM: IKM: IKM SQLto Hyperion Essbase (DATA).

    HSQLDB: Version 2.0.0.

    Essbase: 11.1.2.1.

    Source of the cube: BSO.

    The error that generated the ODI is:

    ODI-1228: Fallo en SrcSet0 (Carga) en el destino SUNOPSIS_ENGINE conexion SUNOPSIS_MEMORY_ENGINE task.

    Caused by: java.sql.SQLException: sentencia SQL don't get runs en modo 'batch '.

    at org.hsqldb.jdbc.Util.sqlException (unknown Source)

    at org.hsqldb.jdbc.Util.sqlException (unknown Source)

    at org.hsqldb.jdbc.Util.sqlExceptionSQL (unknown Source)

    at org.hsqldb.jdbc.JDBCPreparedStatement.executeBatch (unknown Source)

    at oracle.odi.runtime.agent.execution.sql.SQLCommand.end(SQLCommand.java:267)

    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.endExecution(SQLExecutor.java:156)

    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.endExecution(SQLExecutor.java:1)

    at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:113)

    ...

    ...

    ...

    I hope that you can guide me to find a solution.

    Thanks for all, best regards.

    I had the same problem in a seemingly random way. I could not find any resolution so the safest option is to choose a different staging technology.

  • URGENT: How to load data into essbase R12 by ODI

    Hi all

    Could you please provide me with step by step document "How to load data into essbase R12 directly through the ODI".

    Kind regards

    Rubi

    Hello

    You need below KM

    RKM E-Business Suite

    IKM E-Business Suite (open Interface)

    then follow the link below

    Red shift: ODI for eBusiness Suite integration - in 4 steps

    Hope it helps

    Thank you

  • Error loading of ODI planning data

    Hello

    I am trying to load data from the planning table. I get the error in the charge at the stage of planning data:

    com.hyperion.odi.planning.ODIPlanningException: com.hyperion.odi.planning.ODIPlanningException: java.lang.RuntimeException: HyperionPlanningBean::beginLoad: could not derive local systemCfg format for loading data.

    Code:

    from com.hyperion.odi.common import ODIConstants
    from com.hyperion.odi.connection import HypAppConnectionFactory
    import java.lang class
    import java.lang Boolean
    import java.sql *.
    from java.util import HashMap
    #
    # Get the select statement in the meeting area:
    #
    SQL = ' "' select ltrim (rtrim (C2_NODE))"Project", ltrim (rtrim (C3_PARENT)) 'Parent', case when ltrim (rtrim (C4_ALIAS_2)) is null then '#missing»»
    of another ltrim (rtrim (C4_ALIAS_2)) end ' Alias: Alias 2 ', case when ltrim (rtrim (C5_ALIAS_1)) is null then '#missing' another
    LTRIM (RTrim (C5_ALIAS_1)) end ' Alias: Default "," #missing ' 'valid for Consolidations ", ltrim (rtrim (C6_DATA_STORAGE))" Data Storage", ltrim (rtrim (C7_TWO_PASS_CALCULATION)) 'Calculation of two', case when ltrim (rtrim (C8_DESCRIPTION)) is null then '#missing' other '.
    LTRIM (RTrim (C8_DESCRIPTION)) end 'Description', "#missing '' formula' ', #missing '" UDA"', #missing ' 'Smart List', C1_DATA_TYPE 'Data Type'," #missing ' "Operation", ltrim (rtrim (C9_AGGREGATION_1)) '(F_AdSale) aggregation' of "C$ _0Project" where (1 = 1) ' "

    srcCx = odiRef.getJDBCConnection ("SRC")

    stmt = srcCx.createStatement)

    srcFetchSize = 30

    stmt.setFetchSize (srcFetchSize)

    RS = stmt.executeQuery (sql)

    #load data
    stats = pWriter.loadData (rs)

    #close the database result set, connection
    RS. Close()
    stmt. Close()

    Any help will be appreciated

    -Kash

    I have not seen that error before but there's a doc in support of Oracle that highlights the error ' could not derive local systemCfg format for loading data [ID 1479461.1].
    It is not directly related to ODI or problem, but the workaround may help in your case.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • How to load data from matrix report in the base using ODI table data

    Hello

    How to load matrix report data in the base table data using oracle Data Integrator?

    Description of the requirement:

    This is the data from matrix report:
    JOB                       DEPT10                DEPT20  
    ___________________________ _____________
    ANALYST                                           6000
    CLERK                   1300                     1900 
    Need to convert it to the format below:
    JOB                             Dept                        Salary
    _____________________________________________
    ANALYST                  DEPT10      
    ANALYST                  DEPT20                     6000
    CLERK                       DEPT10                    1300
    CLERK                       DEPT20                    1900
        
    Thank you for your help in advance. Let me know if any other explanation is needed.

    Your list seems to be a bit restrictive, you can do much more with the procedures of ODI.

    If you create the new procedure and add a step. In the 'source' tab command you define technology and pattern according to your source database. Use the unpivot operator as described in the link, please, instead of using "SELECT *' use the column names and aliases for example:"

    SELECT workstation,
    deptsal as deptsal,
    saldesc as saledesc
    OF pivoted_data
    UNPIVOT)
    deptsal-<-->
    FOR saldesc-<-->
    IN (d10_sal, d20_sal, d30_sal, d40_sal).<-->
    )

    Then in your tab 'command on target' defined technology and drawing on your target db, then put your INSERT statement for example:

    INSERT INTO job_sales
    (employment,
    deptsal,
    saledesc
    )
    VALUES
    (
    : job,.
    : deptsal,.
    : saledesc
    )

    That's why you use bind variables from source to load data into the target.

    Obviously if the source and target table is in the same database, you can have it all in a single statement to the "command on target' as

    INSERT INTO job_sales
    (employment,
    deptsal,
    saledesc
    )
    SELECT workstation,
    deptsal as deptsal,
    saldesc as saledesc
    OF pivoted_data
    UNPIVOT)
    deptsal-<-->
    FOR saldesc-<-->
    IN (d10_sal, d20_sal, d30_sal, d40_sal).<-->
    )

    also assign the log count "Insert" on the tab corresponding to your INSERT statement, so that you know how many rows you insert into the table.

    I hope this helps.

    BUT remember that this feature is out in Oracle 11 g.

  • Problem loading data for Planning Server through ODI

    Hi all

    I am facing problem while loading data for Planning Server through ODI.
    I created the interface with flat as a source of data as file below

    Location data load Cube name POV cost per seat
    Ctbn_PnL of Tidel Equifax, Budget, Working_2010, FY10, Wk1, Local 333
    Ctbn_PnL of Tidel Equifax, Budget, Working_2010, FY10, Wk2, Local 444
    Ctbn_PnL of Tidel Equifax, Budget, Working_2010, FY10, Wk3, 555 Local
    Ctbn_PnL of Tidel Equifax, Budget, Working_2010, FY10, Wk4, Local 666
    Budget, Working_2010, FY10, Wk5, Tidel Equifax, Local 777 Ctbn_PnL
    Ctbn_PnL of Tidel Equifax, Budget, Working_2010, FY10, Wk6, Local 888
    Budget, Working_2010, FY10, Wk1, PADI Ctbn_PnL Equifax, Local 222
    Budget, Working_2010, FY10, Wk2, PADI Ctbn_PnL Equifax, Local 111
    Budget, Working_2010, FY10, Wk3, PADI Ctbn_PnL Equifax, room 345
    Budget, Working_2010, FY10, Wk4, PADI Ctbn_PnL Equifax, Local 346
    Budget, Working_2010, FY10, Wk5, PADI Ctbn_PnL Equifax, Local 347
    Budget, Working_2010, FY10, Wk6, PADI Ctbn_PnL Equifax, Local 349

    And the target as an application of Planinng. Interface has been properly executed, but are not filled with data in the form of Plannning or Essbase.
    I obtained the information in the log file after running the interface:

    2010-05-20 18:45:38, 409 [DwgCmdExecutionThread:null:5] INFO: Oracle Data Integrator adapter for Hyperion Planning - free 9.3.1.1
    2010-05-20 18:45:38, 409 INFO [DwgCmdExecutionThread:null:5]: connection for application [PnL_ODI] [chnveltss03]: [11333] using [admin] username.
    2010-05-20 18:45:39, 800 [DwgCmdExecutionThread:null:5] INFO: successfully connected to the planning application.
    2010-05-20 18:45:39, 800 INFO [DwgCmdExecutionThread:null:5]: loading for the charge of planning options
    Name of the dimension: location like Parent child: false
    Order By entry charge: forgery
    Update the database: true
    2010-05-20 18:45:39, 815 INFO [DwgCmdExecutionThread:null:5]: beginning of the loading process.
    2010-05-20 18:45:39, 815 DEBUG [DwgCmdExecutionThread:null:5]: number of columns in the result set of source does not match the number of columns planning targets.
    2010-05-20 18:45:39, 831 [DwgCmdExecutionThread:null:5] INFO: type of load is a [member of the load dimension].
    2010-05-20 18:45:39, 831 [DwgCmdExecutionThread:null:5] ERROR: file [[Tidel, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 831 [DwgCmdExecutionThread:null:5] ERROR: file [[Tidel, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 847 [DwgCmdExecutionThread:null:5] ERROR: file [[Tidel, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 847 [DwgCmdExecutionThread:null:5] ERROR: file [[Tidel, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 847 [DwgCmdExecutionThread:null:5] ERROR: file [[Tidel, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 847 [DwgCmdExecutionThread:null:5] ERROR: file [[Tidel, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 847 [DwgCmdExecutionThread:null:5] ERROR: file [[Padi, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 862 ERROR [DwgCmdExecutionThread:null:5]: file [[Padi, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 862 ERROR [DwgCmdExecutionThread:null:5]: file [[Padi, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 862 ERROR [DwgCmdExecutionThread:null:5]: file [[Padi, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 862 ERROR [DwgCmdExecutionThread:null:5]: file [[Padi, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 862 ERROR [DwgCmdExecutionThread:null:5]: file [[Padi, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 878 [DwgCmdExecutionThread:null:5] ERROR: Record [[null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 878 [DwgCmdExecutionThread:null:5] INFO: planing cube refresh initiated.
    2010-05-20 18:45:44, 284 INFO [DwgCmdExecutionThread:null:5]: planning of the cube refresh operation completed successfully.
    2010-05-20 18:45:44, 284 INFO [DwgCmdExecutionThread:null:5]: load the process is complete.


    Please help me in this grace,
    Srinivas

    You are right. The table that you have described is in the format 'Generation' (the highest to the lowest level of the hierarchy). The KM of planning requires data to load in format "Parent/child". You must create multiple interfaces (one for each pair of generation) or use a view to make the transformation.

    While a view seems to be the easier choice, note that ODI will not be able to perform any analysis of lineage of data on the integration process.

    Hope this helps,
    Matt

  • ODI load data into essbase

    I have load data files dishes to Essbase and got the following errors:

    Description:

    from com.hyperion.odi.common import ODIConstants
    from com.hyperion.odi.connection import HypAppConnectionFactory
    import java.lang class
    import java.lang Boolean
    import java.sql *.
    from java.util import HashMap
    #
    # Get the select statement in the meeting area:
    #
    SQL = "" "select C14_ACCOUNT" Account", sum (C5_AUG)" Aug", sum (C6_SEP)" Sep", sum (C1_OCT)" Oct", sum (C15_NOV)" Nov", sum (C13_DEC)" Dec", sum (C9_JAN)" Jan", sum (C2_FEB)" Feb", sum (C8_MAR)" Mar", sum (C3_APR)" Apr", sum (C4_MAY)" May", sum (C10_JUN)" Jun", sum (C16_JUL) 'Jul', 'Work', 'Version', 'Real' 'Scenario',"FY05"" Years", trim (C12_PEOPLESOFTHYPERIONPLANNING)"Entity"of" C$ _0SampleBalSheet»» "" "" "" "" "" ""» , "C$ _1SampleBalSheet" where (1 = 1) and (C11_ENTITY = C7_HYPERION) C14_ACCOUNT group.
    «Trim (C12_PEOPLESOFTHYPERIONPLANNING) "»

    srcCx = odiRef.getJDBCConnection ("SRC")

    stmt = srcCx.createStatement)

    srcFetchSize = 30

    stmt.setFetchSize (srcFetchSize)

    RS = stmt.executeQuery (sql)

    #load data
    stats = pWriter.loadData (rs)

    #close the database result set, connection
    RS. Close()
    stmt. Close()

    "" "" Message - error
    org.apache.bsf.BSFException: exception of Jython:
    Traceback (innermost last):
    "< String >" file, line 21, inside?
    java.sql.SQLException: unexpected token in the statement [select C14_ACCOUNT "Account", sum (C5_AUG) "Aug", sum (C6_SEP) "Sep", sum (C1_OCT) "Oct", sum (C15_NOV) "Nov", sum (C13_DEC) "Dec", sum (C9_JAN) "Jan", sum (C2_FEB) "Feb", sum (C8_MAR) "Mar", sum (C3_APR) "Apr", sum (C4_MAY) "May", sum (C10_JUN) "Jun", sum (C16_JUL) 'Jul', 'Work' 'Version', 'Real' 'Scenario' "" ' "" ' "" ' "] , "FY05" 'Years', trim (C12_PEOPLESOFTHYPERIONPLANNING]

    at org.hsqldb.jdbc.jdbcUtil.sqlException(jdbcUtil.java:67)

    at org.hsqldb.jdbc.jdbcStatement.fetchResult(jdbcStatement.java:1598)

    at org.hsqldb.jdbc.jdbcStatement.executeQuery(jdbcStatement.java:194)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.python.core.PyReflectedFunction.__call__ (PyReflectedFunction.java)

    at org.python.core.PyMethod.__call__ (PyMethod.java)

    at org.python.core.PyObject.__call__ (PyObject.java)

    at org.python.core.PyInstance.invoke (PyInstance.java)

    to org.python.pycode._pyx24.f$ 0 (< string >: 21)

    to org.python.pycode._pyx24.call_function (< string >)

    at org.python.core.PyTableCode.call (PyTableCode.java)

    at org.python.core.PyCode.call (PyCode.java)

    at org.python.core.Py.runCode (Py.java)

    at org.python.core.Py.exec (Py.java)

    at org.python.util.PythonInterpreter.exec (PythonInterpreter.java)

    at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)

    at com.sunopsis.dwg.codeinterpretor.k.a (k.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting (SnpSessTaskSql.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders (SnpSessTaskSql.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders (SnpSessTaskSql.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt (SnpSessTaskSql.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt (SnpSessTaskSqlI.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask (SnpSessTaskSql.java)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep (SnpSessStep.java)

    at com.sunopsis.dwg.dbobj.SnpSession.treatSession (SnpSession.java)

    at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand (DwgCommandSession.java)

    at com.sunopsis.dwg.cmd.DwgCommandBase.execute (DwgCommandBase.java)

    at com.sunopsis.dwg.cmd.e.i (e.java)

    at com.sunopsis.dwg.cmd.g.y (g.java)

    at com.sunopsis.dwg.cmd.e.run (e.java)

    at java.lang.Thread.run(Thread.java:619)


    java.sql.SQLException: java.sql.SQLException: unexpected token in the statement [select C14_ACCOUNT "Account", sum (C5_AUG) "Aug", sum (C6_SEP) "Sep", sum (C1_OCT) "Oct", sum (C15_NOV) "Nov", sum (C13_DEC) "Dec", sum (C9_JAN) "Jan", sum (C2_FEB) "Feb", sum (C8_MAR) "Mar", sum (C3_APR) "Apr", sum (C4_MAY) "May", sum (C10_JUN) "Jun", sum (C16_JUL) 'Jul', 'Work' 'Version', 'Real' 'Scenario' "" ' "" ' "" ' "] , "FY05" 'Years', trim (C12_PEOPLESOFTHYPERIONPLANNING]

    at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
    at com.sunopsis.dwg.codeinterpretor.k.a (k.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting (SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders (SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders (SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt (SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt (SnpSessTaskSqlI.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask (SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep (SnpSessStep.java)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession (SnpSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand (DwgCommandSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandBase.execute (DwgCommandBase.java)
    at com.sunopsis.dwg.cmd.e.i (e.java)
    at com.sunopsis.dwg.cmd.g.y (g.java)
    at com.sunopsis.dwg.cmd.e.run (e.java)
    at java.lang.Thread.run(Thread.java:619)

    You use an agent defined instead of the LFA to reverse, I recommend using an agent also sometimes there may be problems reversing with the local agent.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • ODI can load data into the planning and REPLACE the existing data?

    Hello
    ODI (9.3.1.1) can load data into the planning and REPLACE the existing data?
    Currently of our ODI by "ADD" load to existing data data - so that is I accidentally run the load twice, it would be double planning numbers. I don't know how to do it to REPLACE so that running more than twice has no effect.

    With the help of the essbase adapter you would use a rule of load, in the State of charge, you can set whether to replace or add to existing values. It is not difficult to pass.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • SOS! -Error to load data from Oracle 11 g to Essbase using ODI

    Hi all.

    I want to load data from oracle database to essbase using ODI.
    I have set up correctly the Hyperion essbase physical and logical topology manager and got the structure ESSBASE BASIC app DEMO.
    The problem is.
    1. when I try see data right click on the table of essbase.
    va.sql.SQLException: driver must be specified
    at com.sunopsis.sql.SnpsConnection.a (SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.testConnection (SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.testConnection (SnpsConnection.java)
    at com.sunopsis.graphical.frame.b.jc.bE (jc.java)
    at com.sunopsis.graphical.frame.bo.bA (bo.java)
    at com.sunopsis.graphical.frame.b.ja.dl (ja.java)
    to com.sunopsis.graphical.frame.b.ja. < init > (ja.java)
    to com.sunopsis.graphical.frame.b.jc. < init > (jc.java)
    I got the answer of partisan Oracle it's ok, just omit it. The second problem will appear.
    2 create an interface between the oracle and essbase database, click on the option ' staging of deffirent from the area of the "(ce qui signifie que la mise en scène est créé à la base de données oracle) target, and using IKM SQL for Hyperion Essbase (metadata), run this interface".

    org.apache.bsf.BSFException: exception of Jython:
    Traceback (innermost last):
    "< String >" file, line 61, in there?
    com.hyperion.odi.essbase.ODIEssbaseException: invalid value specified [RULES_FILE] for the load option [null]

    at com.hyperion.odi.essbase.ODIEssbaseMetaWriter.validateLoadOptions (unknown Source)

    at com.hyperion.odi.essbase.AbstractEssbaseWriter.beginLoad (unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)

    at java.lang.reflect.Method.invoke (unknown Source)

    at org.python.core.PyReflectedFunction.__call__ (PyReflectedFunction.java)

    at org.python.core.PyMethod.__call__ (PyMethod.java)

    at org.python.core.PyObject.__call__ (PyObject.java)

    at org.python.core.PyInstance.invoke (PyInstance.java)

    to org.python.pycode._pyx1.f$ 0 (< string >: 61)

    to org.python.pycode._pyx1.call_function (< string >)

    at org.python.core.PyTableCode.call (PyTableCode.java)

    at org.python.core.PyCode.call (PyCode.java)

    at org.python.core.Py.runCode (Py.java)

    at org.python.core.Py.exec (Py.java)



    I am very confused by it. Someone give me a solution or other docs.

    Ethan.

    Hello

    You say that you are loading, but you chose the KM for the loading of metadata?
    If you load metadata then you must provide a rules file, if you are loading and then choose the KM - IKM SQL for Hyperion Essbase (DATA)

    Ok?

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Cannot load data into Essbase using ODI

    Hi guys,.

    Help help. I have problem loading data into essbase using ODI. The error message is
    java.sql.SQLException: unexpected token: ACCOUNT in the statement [select C1_ACCOUNT "" account]

    I have a very simple flat file that are similar to the below:

    Account, resources, time, data
    Active, Na_Resource, Jan, 10
    Active, Na_Resource, 12, February

    With the same flat files, I am able to load data to load rules.


    I use 9.3.1.0 and ODI 10.1.3.4.0 essbase. I use the ODI to load members and data in the planning without any problem.


    Thank you

    Hello

    It seems to generate an extra set of quotation marks around the SQL, in my interface it generates.

    SQL = "" "select C1_ACCOUNT 'Account', C2_PERIOD 'Period', C3_RESOURCE 'Resource', C4_DATA 'Data' of the" C$ _0TestApp_testData "where (1 = 1) «»

    Note the single quotes around the account.

    If you go to the topology Manager, on the tab of the physical architecture, right-click 'Hyperion Planning' > 'change '.
    Select the "Langugage" tab for the "JYTHON" line, make sure that the "Object Delimiter" field has no quotes, if it's remove and apply and save.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • ODI - the most recent version of the loading data

    Hello

    I have a flat file with the above structure

    No. MRN DATE OF BIRTH

    12345 12/04/1988

    12345 13/06/1980

    12345 21/05/1989

    The requirement is to load data into Oracle tables where only the last row must be taken (in this sense Date of birth for last MNR number must be picked, essentially the last disk)

    There is no verification of available data, which means that no insert_date or no matter what version number is available

    What is the best way to achieve this.

    Any help will be appreciated.

    Thanks and greetings

    Reshma

    In this case as you consider this last incoming data as more later. You should be able to choose later from the file in 2 ways (using the oracle sequence generated by default or manually, by creating a sequence).

    In the second case, when loading data to the staging table.

    Create a SNO_MRN_SEQ sequence in Oracle DB

    create sequences SNO_MRN_SEQ

    START WITH 1

    INCREMENT BY 1

    NOCACHE;

    Create an additional (SNO_SEQ) field in the staging data store, which in the mapping interface you will map the sequence (schema_name. SNO_MRN_SEQ. NEXTVAL).

    Check the staging table data if the sequence is empty as expected.

    during the loading to the filter of the target on MRN_NO Table and use the below query, which will essentially come to the max of the sequence number.

    STGTABLE. SNO_SEQ =

    (SELECT MAX (B.SNO_SEQ)

    OF STAGING_TABLE B

    WHERE STGTABLE. MRN_NO = B.MRN_NO

    )

    Let me know if that helps!

Maybe you are looking for

  • Error hard drive Self Test 303

    Hello I own a HP Pavilion dm4t-3000 CTO Entertainment Notebook PC (code QA702AV). I did the self test HP and got the message «Hard Disk 1 303» fast It seems that I need to replace the HD, but I was wondering what models are compatible with my laptop

  • HP iPAQ h5550 Pocket PC PDA of 128 MB

    I have a H5550 running worm 4.20.1081 windows of microsoft pocket pc 2003, I would like to most recent update or a good current software so that it accepts better wireless connections and a better browser, many now do not accept a 2003 Navigator. whe

  • Can I install a UK English Dictionary in Windows Mail?

    original title: Windows Mail spelling What I can, and if so how I can, spelling dictionary English install a UK in Windows mail? The current default is American English and it's bugged me and my e-mail correspondents who never stop for me that I can'

  • How can I find Port Proxy?

    My printer requires a "proxy port". Where can I find?

  • Removed Internet Explorer and assigns them to hyperlinks in Excel

    Hello After becoming tired of the software change my PC settings without my permission, I decided to separate my work from the internet machine and only use the programs I need.  I updated to windows 7 and then a bit of a spring clean.  I uninstalled