Failed to load data from the staging area using the map of ERP SAP ABAP

Hello

I am new to ODI and some challenges. ODI 11g (11.1.1.6.0) I want to move data from a SAP EHP6 system to a warehouse of the oracle. I got the table that I need, using the SAP reverse engineering metadata browser. I then created the interface and on executing this operation fails on task/Session 13 - Loding - Srcset0 - load data into a staging. I use a shared directory. I put FTP_TRANSFER_METHOD = FSMOUNT_DIRECT. I get the error message is

org.apache.bsf.BSFException: exception of Jython:
Traceback (most recent call changed):
File '< string >", line 14, in < module >
Load error: see /home/dwsap/ZODI_13001_11001_GLOBAL.log for more details

to org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
to com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:322)
to com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
to com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2472)
to oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:47)
to oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
to oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
to com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
to com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
to com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
to com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
to com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)
to oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
to 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)
to oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)
to java.lang.Thread.run(Thread.java:744)
Caused by: Traceback (most recent call changed):
File '< string >", line 14, in < module >
Load error: see /home/dwsap/ZODI_13001_11001_GLOBAL.log for more details

to org.python.core.PyException.doRaise(PyException.java:219)
to org.python.core.Py.makeException(Py.java:1166)
to org.python.core.Py.makeException(Py.java:1170)
to org.python.pycode._pyx0.f$ 0 (< string >: 50)

to org.python.pycode._pyx0.call_function (< string >)
to org.python.core.PyTableCode.call(PyTableCode.java:165)
to org.python.core.PyCode.call(PyCode.java:18)
to org.python.core.Py.runCode(Py.java:1204)
to org.python.core.Py.exec(Py.java:1248)
to org.python.util.PythonInterpreter.exec(PythonInterpreter.java:172)
to org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
     ... 19 more


I checked the log file and it contains the following


$ ZODI_13001_11001_GLOBAL.log more

SQL * Loader: release 11.2.0.4.0 - Production on Thu Mar 27 11:19:17 2014

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

SQL * Loader-704: Internal error: ulconnect: OCIServerAttach [0]
ORA-12504: TNS:listener did not have the SERVICE_NAME in CONNECT_DATA


I checked my tnsnames.ora and it seems to be OK


tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.

XXXXXX =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxxxxx) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = xxxxxx)
(SID = xxxxxx)
(GLOBAL_NAME = xxxxxx)
)
)


Here's my listener.ora


listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = xxxxx) (PORT = 1521))
)
)
ADR_BASE_LISTENER = / u01/app/oracle



What could be the problem?

Concerning

Thanks a lot for your help. The problem is that I had put in the incorrect name of the instance.

Tags: Business Intelligence

Similar Questions

  • Loading data from the planning application sample

    Hello

    I created an example of planning application in the workspace (V 11.1.1.3). By default, they dimension 'Year' the year of departure as FY11. Whereas, loading data from file 'SampleApp_data.txt' that comes with the installation is the year of departure as FY09. Then, when I insert data in environmental assessment (form free loading), there is an error that the FY09 member is not present. Does anyone know how can I approach properly load the sample data? I tried to replace by FY11 by FY12 FY10 FY09 and so forth in Notepad, but the process still hang on the first attempt.

    Thanks in advance,
    Aerts

    The easiest way is not sample application tick the options and change the calendar 2008 or 2009, go to the finsh tab, then return to the first screen and sample application tick, then finished, it will create with the year of departure.

    See you soon

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

  • How to load data from the EBS to HFM

    I'm new to HFM. Now, I need to load the data from the EBS to HFM. How can I do this? Version of the EBS is R12.1 and HFM is 11.1.1.3.

    Hello

    Have you looked in the help of FDM 11.1 x version. It has adapters for EBS and you can also map the HFM entities.

    Thank you

    Partnered Bhatti

  • Query to extract data from source DB driver using process mapping pre...

    Hi all
    I have a source for the query to retrieve the data from the source database. Looking for suggestion what could be the best approach to extract data from the source database.using owb 11 GR 1 material.
    I'm in printing, create the process of mapping driver prerequisite for aid to perform immediate with Create table T1 as a sql query. Petition to the sides of the Insert into T1 Select * from Source_Table in the different database.

    Certainly, need to create Db users in the Source database, to get privileges to read the data of source_database.
    Is - this good aproach to or of any other alternative to achieve this.

    Means, create the table in the transit area (desired area, where I am) and using driver mapping process before you run the select query to retrieve data from a data source.

    Would apreciate your previous answer.
    Thank you
    MAK

    You can mark Correct or useful if it solves your purpose.

  • Loading data from the external XML file

    Hello people!

    I have a XML file on my server, updated by cron every 10 minutes and I want to load data to my webworks her application, but the jquery ajax function do not support the folded areas. So here's my question - how should this information? Can I somehow download this file and then use ajax?

    Welcome!

    in your config.xml file, add an authorization to access your server:

    subdomains of http://www.yourserver.com"="true"/ >

    This will get by cross-origin issues.

  • Loading data from the table of operating system

    Hi all;

    MY DB vsersion is 10.2.0.5.0 in LINUX

    I have the .sql file in path X11R6.

    I am trying to load data by running the script load.sql , but I get the error message.

    > > CONTENT

    $ cat vi.sample_tab.sql

    create table tab1 (identification number,

    name varchar2 (15).

    Qual varchar2 (15).

    City varchar2 (15).

    Mobile number);

    $ vi load.sql;

    Start

    because me 1.100000 loop

    insert into table values (i,'* ',' MS ',' *', 1234554321);

    commit;

    end loop;

    end;

    /

    SQL > @sample.sql;

    Table created.

    SQL > @load.sql;

    insert into table values (i,'* ',' MS ',' *', 1234554321);

    *

    ERROR at line 3:

    ORA-06550: line 3, column 19:

    PL/SQL: ORA-00942: table or view does not exist

    ORA-06550: line 3, column 1:

    PL/SQL: SQL statement ignored

    SQL > select * from tab;

    TNOM TABTYPE CLUSTERID

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

    TABLE TAB1

    SQL > tab1 desc;

    Name                                      Null?    Type

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

    ID                                                 NUMBER

    NAME VARCHAR2 (15)

    QUAL VARCHAR2 (15)

    CITY VARCHAR2 (15)

    MOBILE PHONE NUMBER


    Thanks in advance.

    Hello

    GTS (DBA) wrote:

    Hi all;

    MY DB vsersion is 10.2.0.5.0

    I have the .sql file in path X11R6.

    I am trying to load data by running the script load.sql , but I get the error message.

    > CONTENT

    $ cat vi.sample_tab.sql

    create table tab1 (identification number,

    name varchar2 (15).

    Qual varchar2 (15).

    City varchar2 (15).

    Mobile number);

    ...

    Well, which creates a table called TAB1.  The last character of the name of the table is the numeral "1".

    $ vi load.sql;

    Start

    because me 1.100000 loop

    insert into table values (i,'* ',' MS ',' *', 1234554321);

    commit;

    end loop;

    end;

    /

    SQL > @sample.sql;

    Table created.

    SQL > @load.sql;

    insert into table values (i,'* ',' MS ',' *', 1234554321);

    *

    ERROR at line 3:

    ORA-06550: line 3, column 19:

    PL/SQL: ORA-00942: table or view does not exist

    ORA-06550: line 3, column 1:

    PL/SQL: SQL statement ignored

    Refers to another table.  The last character of the name of this table is the letter 'L '.

    SQL > tab1 desc;

    Name                                      Null?    Type

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

    ID                                                 NUMBER

    NAME VARCHAR2 (15)

    QUAL VARCHAR2 (15)

    CITY VARCHAR2 (15)

    MOBILE PHONE NUMBER

    This is the table that you created (its name ends with the digit "1"), not that used in the INSERT statement (its name ends with the letter "L").

  • Dreamweaver CC 2105 "internal data error - failed to receive data from the network.

    I haven't seen this error before and have used Dreamweaver for many years. But, I am getting very regularly (it's more than intermittent) since the last update of Dreameaver. I'm just checking if it's a bug in Dreamweaver, or a bug of Yahoo Web Hosting.

    What happens is that I log on my SFTP site (sometimes I can not yet connect), then try to download a file and get the message "an FTP error occurred - cannot establish a connection to the host." Internal data error. Unable to connect to the server. ».

    However, and this is the really, really bad bits, the file that WAS on the server (i.e. who was to be replaced) seems to be DELETED, i.e. * before * the update is applied (which is not because of the error). I don't know if Dreamweaver somehow did this or not, but this means that if you were, say, download a revision to top-level index.html file in your site, this file is no longer there, and visitors to your site then sees the * entire * structure of the files in your site - potentially catastrophic.

    I tried to empty the cache to Dreamweaver (http://www.dmxzone.com/go/16740/clearing-dreamweaver-s-cache/), but that makes no difference.

    Did someone else presents itself has found a solution for it (or identified the problem)?

    Thanks in advance!

    There was a few other messages on Yahoo and connection problems recently.

    Have you tried downloading using another FTP, Filezilla client program, yet?

    If the problem that is happening, it may just be a problem with Yahoo. If it isn't, at least your site will be updated while troubleshooting continues with DW.

  • Error when loading data from a file XML using HTTPService

    Hi all

    I have a runtime error that made me beat right now I am building an App in Flash Builder 4 to run on AIR.

    The error is as follows: TypeError: Error #1009: cannot access a property or method of a null object reference.

    What I'm doing:

    I have 2 DropDownList controls, the first is filled with the names of countries and the other with the language options.  All 1 DropDownList control

    set to an image control to display the flag of the country and activate the 2nd DropDownList.

    The 2nd DropDownList control sets the returned variable equal to the language code.  I then call the function in the language and pass it returned using this variable, I build the string

    for langFilePath will be equal to the XML file (which is "Lang_GBR.xml") location on my desktop and then call the HTTPService.

    As soon as the function of language is called, the runtime error occurs and highlights the line with btn_LS_mainMenu.label = loadLangService.lastResult.Lang.GlobalTags.btnMenu;

    When I try to assign the label of button with a new value in the XML file.

    I suspect that maybe it's a trivial mistake, but I can't see it at the moment.

    Any help or advice would be appreciated.  Thank you

    Code:

    <fx:Script>
            <![CDATA[
                   
                   [Bindable]
                   public var langFilePath:String;
    
                   public var langDir:File = File.desktopDirectory;
                   public var langCode:String;
                   
                   public function countrySelect_changeHandler(event:IndexChangeEvent):void
                   {
                        switch (countrySelect.selectedItem)
                        {  
                             case ('United Kingdom'):  
                                  trace("Item Selected was: "+ countrySelect.selectedItem);
                                  img_countryFlag.source = AngolaFlag;
                             break;
                             case ('France'):  
                                   trace("Item Selected was: "+ countrySelect.selectedItem);
                                   img_countryFlag.source = AustraliaFlag;
                             break; 
                             default:  
                             break;
                         } 
                        langSelect.enabled = true;
                        trace("1st dropdownbox");
                   }
    
                   
                   public function langSelect_changeHandler(event:IndexChangeEvent):void
                   {
                        switch (langSelect.selectedItem)
                        {                                          
                             case ('English'):  
                                 trace("Language Selected was: "+ langSelect.selectedItem);
                                 langCode = "Lang_GBR";  
                             break;
                             case ('French'):  
                                 trace("Language Selected was: "+ langSelect.selectedItem);
                                 langCode = "Lang_FRA";  
                             break;
                        }
                        language(langCode);
                    }
    
                   public function language(aParam:String):void
                   {
                        trace("Code Was: " + aParam);
                        trace("Lang dir: " + langDir.nativePath);
             
                        langFilePath = langDir.nativePath + "/" + aParam + ".xml";
             
                        trace("File to load: " + langFilePath);
                        trace("loadLangFile.url: " + loadLangService.url);
                        loadLangService.send();
                        
                        btn_LS_mainMenu.label = loadLangService.lastResult.Lang.GlobalTags.btnMenu;
                   }
              ]]>
    </fx:Script>
    
    
    <fx:Declarations>
         <s:HTTPService id="loadLangService" url="{langFilePath}"/>
    </fx:Declarations>
    
    
    <s:DropDownList x="10" y="201" id="countrySelect" prompt="Please Select Your Country" width="274" enabled="true" change="countrySelect_changeHandler(event)">
    
    <s:DropDownList x="10" y="348" id="langSelect" prompt="Please Select Your Language" width="274" enabled="false" change="langSelect_changeHandler(event)">
    
    

    Not sure on your XML structure, but for now I see the problem here between these 2 lines of code:

    loadLangService.send();
                       
    btn_LS_mainMenu.label = loadLangService.lastResult.Lang.GlobalTags.btnMenu;

    Data do you your httpService supposed to receive just cannot go so fast to fill the lastResult before calling it in the following line

    Try to add a listener to result at your service before sending:

    .....

    loadLangService.addEventListener (ResultEvent.RESULT, handler);

    loadLangService.send();

    ......

    function handler(event:ResultEvent):void {

         btn_LS_mainMenu.label = loadLangService.lastResult.Lang.GlobalTags.btnMenu;

    }

  • How to load data from ms sql to the by the file rules and maxl essbase

    Hi, everybody!
    Pretty Shure the kind of topic exists already on the forum, but unfortunately can't find it.

    I want to understand, how to load data from the database to ms sql for the PB of essbase application.

    (I) so I have:
    1. a request for 'society '.
    2 and its database 'Plan '.
    3. with simple outline, which contains only two dimensions:

    -The time period < 1 > (Label only)
    -Total year (~)
    -Qtr1 (+)
    Jan (+)
    Feb (+)
    Mar (+)
    -Qtr2 (+)
    APR (+)
    May (+)
    Jun (+)

    -Accounts < 1 > (Label only)
    -Lost / based (~) (Label only)
    -Revenues (+)
    L1.1 (+)
    L1.2 (+)
    -Costs (-)
    L2.1 (+)
    L2.2 (+)

    (II) also, I created a rules file called "CO_DWH" and associated with this schema
    It (Rules file) a 3 columns:
    Data of the 'period', 'account '.

    There is also the option checked "load data".

    (III) in MS SQL Server, I have a database of "hypdb" and "essadmin" with "password" login

    (IV) I executed my bat file:
    C:\Hyperion\EssLoad.bat
    There is only one line:

    EssLoad.bat-
    startMaxl.cmd EssLoad.txt
    ----------------------------------------------

    EssLoad.txt-
    login password admin on erpserver;
    Import database data Company.Plan connect in essadmin password using the server rules_file 'CO_DWH' error abort;
    disconnection;
    "exit";
    --------------------------------------------


    All plans that I copied well worked ERP system, but I don't understand, this is exactly table in the MS SQL database, data loading to essbase db?

    TOU have to do a few things
    1. on the server of Essbase, put in place a system odbc for your MySQL database connection
    2. in the State of charge, go to the file menu and select open source SQL database and in the source of data in your SQL statement. A few tips. Where it says select, don't put in the select Word and when he says to not put in of. The system adds for you. TI enter a simple SQL statement is to do this in the box so select if your SQL would be normanlly as select * from myTable just enter the code as * from myTable in the upscale neighborhood

    The ol/recover the click and fill your connection information. Should bring back the data in the State of charge. Save the State of charge and use

  • Error loading data from Oracle 10 g to Excel

    Hello gurus,

    I get the error when loading data from the Oracle 10 g database table to Excel.
    I use SQL TO ADD SQL IKM.
    Staging area is different from the target and I use the same pattern sense to source and put in scene.
    Please help me...

    Error is

    0: S1000: sun.jdbc.odbc.JdbcOdbcBatchUpdateException: [Microsoft] [ODBC Excel Driver] operation must use an update query.
    sun.jdbc.odbc.JdbcOdbcBatchUpdateException: [Microsoft] [ODBC Excel Driver] operation must use an update query.

    at sun.jdbc.odbc.JdbcOdbcPreparedStatement.emulateExecuteBatch (unknown Source)

    at sun.jdbc.odbc.JdbcOdbcPreparedStatement.executeBatchUpdate (unknown Source)

    at sun.jdbc.odbc.JdbcOdbcStatement.executeBatch (unknown Source)

    at com.sunopsis.sql.SnpsQuery.executeBatch (SnpsQuery.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders (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 (unknown Source)


    Kindly help me...

    Thanks in advance.

    Samuel

    Hello

    When you created the DSN for the spreed excel worksheet you dot not uncheck the read-only box.
    Make sure that the read-only checkbox is not checked, otherwise you will get an error message when trying to insert data into the Excel worksheet (error: "[Microsoft] [ODBC Excel Driver] operation must use an update query.").

    Thank you
    Fati

  • How to load data into the App MVDEMO schema example

    Hi all

    I'm a POC on Oracle Mapviewer and try to build some reports in OBIEE using MApviewer.

    This POC, I use Oracle MVDEMO example Data (11g). I think that these sample data covers few countries like the USA.

    I need to make PDS for the Brazil, I downloaded data from the map of the site as Shapefiles Brazil

    http://GADM.org/country

    in these data of the Brazil, I got from .csv files 4 extensions, .dbf, .shp and SHX

    I need to know how can I load these files into my Oracle 11 g DB? Should I load data into the same pattern of mvdemo, if yes then which table?

    Any help will be appreciated a lot.

    Thank you

    Amit

    Use the Java shapefile Converter utility (http://www.oracle.com/technetwork/database/options/spatialandgraph/downloads/index-093371.html)

    GDAL (gdal.org) FME (Safe) or or MapBuilder.

    Specify the to SRID (i.e. the SRID for loading in Oracle geoms) 4326 or 8307.

    Load into a new table named anything you want. for example brazil_gadm with the geometry named GEOMETRY column

    Once it's loaded, verify that there is an entry for the table and column (BRAZIL_GADM, GEOMETRY) in user_sdo_geom_metadata

    Create a space on brazil_gadm.geometry index if the tool has not created a.

    Add the definitions of topic for the country, State or whatever the admin areas exist in the dataset.

    Import them as layers in OBIEE.

  • Problems loading data to the Essbase.

    Hi all

    I am trying to load data to essbase and I get the following error. He said from an unknown source. But when I do the reverse, that it works fine without any errors.
    I do a simple load data from the file... Please help me.


    org.apache.bsf.BSFException: exception of Jython:
    Traceback (innermost last):

    "< String >" file, line 23, in there?

    com.hyperion.odi.essbase.ODIEssbaseException: error reached records the maximum error threshold: 1


    at com.hyperion.odi.essbase.ODIEssbaseDataWriter.loadData (unknown Source)


    at sun.reflect.GeneratedMethodAccessor100.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._pyx125.f$ 0 (< string >: 23)


    to org.python.pycode._pyx125.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.j (e.java)


    at com.sunopsis.dwg.cmd.h.z (h.java)


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


    at java.lang.Thread.run (unknown Source)


    Caused by: com.hyperion.odi.essbase.ODIEssbaseException: error reached records the maximum error threshold: 1


    at com.hyperion.odi.essbase.ODIEssbaseDataWriter.checkMaxError (unknown Source)


    at com.hyperion.odi.essbase.ODIEssbaseDataWriter.sendRecordArrayToEsbase (unknown Source)


    ... 31 more




    com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: error reached records the maximum error threshold: 1



    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.j (e.java)

    at com.sunopsis.dwg.cmd.h.z (h.java)

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

    at java.lang.Thread.run (unknown Source)


    Thank you
    K

    Hello

    Well just use the 10.1.3.5_2 version as it looks like this is the right one.

    Ok?

    See you soon

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

  • Generic procedure to load the data from the source to the table target

    Hi all

    I want to create a generic procedure to load data of X number of the source table to X number of the target table.

    such as:

    Source1-> Target1

    Source2-> Target2

    -> Target3 Source3

    Each target table has the same structure as the source table.

    The indexes are same as well. Constraint are not predefined in the source or target tables.there is no involved in loading the data from the business logic.

    It would simply add.

    This procedure will be scheduled during off hours and probably only once in a month.

    I created a procedure that does this, and not like:

    (1) make a contribution to the procedure as Source and target table.

    (2) find the index in the target table.

    (3) get the metadata of the target table indexes and pick up.

    (4) delete the index above.

    (5) load the data from the source to the target (Append).

    (6) Re-create the indexes on the target table by using the collection of meta data.

    (7) delete the records in the source table.

    sample proc as: (logging of errors is missing)

    CREATE or REPLACE PROCEDURE PP_LOAD_SOURCE_TARGET (p_source_table IN VARCHAR2,

    p_target_table IN VARCHAR2)

    IS

    V_varchar_tbl. ARRAY TYPE IS VARCHAR2 (32);

    l_varchar_tbl v_varchar_tbl;

    TYPE v_clob_tbl_ind IS TABLE OF VARCHAR2 (32767) INDEX OF PLS_INTEGER;

    l_clob_tbl_ind v_clob_tbl_ind;

    g_owner CONSTANT VARCHAR2 (10): = 'STG '.

    CONSTANT VARCHAR2 G_OBJECT (6): = 'INDEX ';

    BEGIN

    SELECT DISTINCT INDEX_NAME BULK COLLECT

    IN l_varchar_tbl

    OF ALL_INDEXES

    WHERE table_name = p_target_table

    AND the OWNER = g_owner;

    FOR k IN l_varchar_tbl. FIRST... l_varchar_tbl. LAST LOOP

    SELECT DBMS_METADATA. GET_DDL (g_object,

    l_varchar_tbl (k),

    g_owner)

    IN l_clob_tbl_ind (k)

    FROM DUAL;

    END LOOP;

    BECAUSE me IN l_varchar_tbl. FIRST... l_varchar_tbl. LAST LOOP

    RUN IMMEDIATELY "DROP INDEX ' |" l_varchar_tbl (i);

    DBMS_OUTPUT. PUT_LINE (' INDEXED DROPED AS :'|| l_varchar_tbl (i));

    END LOOP;

    RUN IMMEDIATELY ' INSERT / * + APPEND * / INTO ' | p_target_table |

    ' SELECT * FROM ' | '. p_source_table;

    COMMIT;

    FOR s IN l_clob_tbl_ind. FIRST... l_clob_tbl_ind LAST LOOP.

    EXECUTE IMMEDIATE l_clob_tbl_ind (s);

    END LOOP;

    RUN IMMEDIATELY 'TRUNCATE TABLE ' | p_source_table;

    END PP_LOAD_SOURCE_TARGET;

    I want to know:

    1 has anyone put up a similar solution if yes what kind of challenges have to face.

    2. it is a good approach.

    3. How can I minimize the failure of the data load.

    Why not just

    create table to check-in as

    Select "SOURCE1" source, targets "TARGET1", 'Y' union flag double all the

    Select "SOURCE2', 'TARGET2', 'Y' in all the double union

    Select "SOURCE3', 'Target3', 'Y' in all the double union

    Select "SOURCE4', 'TARGET4', 'Y' in all the double union

    Select 'Source.5', 'TARGET5', 'Y' in double

    SOURCE TARGET FLAG
    SOURCE1 TARGET1 THERE
    SOURCE2 TARGET2 THERE
    SOURCE3 TARGET3 THERE
    SOURCE4 TARGET4 THERE
    SOURCE.5 TARGET5 THERE

    declare

    the_command varchar2 (1000);

    Start

    for r in (select source, target of the archiving of the pavilion where = 'Y')

    loop

    the_command: = "insert / * + append * / into ' |" r.Target | ' Select * from ' | '. r.source;

    dbms_output.put_line (the_command);

    -execution immediate the_command;

    the_command: = 'truncate table ' | r.source | "drop storage."

    dbms_output.put_line (the_command);

    -execution immediate the_command;

    dbms_output.put_line(r.source ||) 'table transformed');

    end loop;

    end;

    Insert / * + append * / into select destination1 * source1

    truncate table SOURCE1 drop storage

    Treated SOURCE1 table

    Insert / * + append * / to select TARGET2 * in SOURCE2

    truncate table SOURCE2 drop storage

    Treated SOURCE2 table

    Insert / * + append * / into select target3 * of SOURCE3

    truncate table SOURCE3 drop storage

    Treated SOURCE3 table

    Insert / * + append * / into TARGET4 select * from SOURCE4

    truncate table SOURCE4 drop storage

    Table treated SOURCE4

    Insert / * + append * / into TARGET5 select * from source.5

    truncate table source.5 drop storage

    Treated source.5 table

    Concerning

    Etbin

  • Cannot find the file error when loading data from text file to Oracle

    Hello

    I have an interface where I am loading a data from the text file to Oracle.
    But when I try to do that I am getting following error.

    ODI-1227: SrcSet0 (load) task fails on the source FILES SAPMM connections.
    Caused by: java.sql.SQLException: file not found: d:/mdb/#General.get_filename
    to com.sunopsis.jdbc.driver.file.FileResultSet. < init > (FileResultSet.java:160)
    at com.sunopsis.jdbc.driver.file.impl.commands.CommandSelect.execute(CommandSelect.java:57)
    at com.sunopsis.jdbc.driver.file.CommandExecutor.executeCommand(CommandExecutor.java:33)

    SAPMM is the name of the connection.
    I use get_filename to get the name of the file and it is fetching a correct value as long as this variable is updated in the previous stage of this interface.
    KM, used for loading is SQL file

    What would be the cause of this error?

    Thank you
    Mahesh

    Also a single query would be ok if I'm moving only generated package (according to your scenario3) scenario and not UI? It running properly?

    Yes... It runs successfully

  • type it the password of the account, it says the user profile service Service failed the profile logon.user cannot be loaded.on from the system restore, it said: System Restore could not start. What should I do? __

    type it the password of the account, it says the user profile service Service failed the profile logon.user cannot be loaded.on from the system restore, it said: System Restore could not start. What should I do?

    Have a look here:
    http://support.Microsoft.com/kb/947215
    or here:
    http://www.Vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.html

Maybe you are looking for