ODI 11g

Hi,
I found a link which talks about how to use external database to store data in ODI 10g:
http://docs.oracle.com/cd/E15985_01/doc.10136/user/e16274/xml/doc/driver_configuration.htm
In order to encyrpt the password we are supposed to use java -cp snpsxmlo.jar com.sunopsis.jdbc.driver.xml.SnpsXmlEncoder password in 10g.
What do I have to use if I want to do the same in 11g?
Thanks,
San

http://docs.oracle.com/cd/E14571_01/integrate.1111/e12644/appendix_xml_driver.htm#CHDFIJEH
says that use encode.bat

Similar Messages

  • Can we preview data after RKM in SAP in ODI 11g

    can we able to right click and view data in models after reverse engineering in SAP in ODI 11g ??
    Edited by: Drona on Mar 16, 2012 1:06 PM

    No we cannot preview the data as SAP connection is made using Jco adapter.
    We can only preview the data for data servers which are connected using jdbc.

  • Query  Regarding Updation/Migration of ODI 10g To ODI 11g.

    Hi All,
    Currently I am using ODI 10g Version & Repositories ( Work & Master) have been installed on Oracle database version "Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi"
    We are thinking to migrate from ODI 10g to ODI 11g Version 11.1.1.5 & i have some queries which are metioned below.
    1. Can we install ODI 11g Version 11.1.1.5 version with Repositories ( Work & Master) on Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi" or do i need to upgrade my database version to 11G?.
    2. If yes then, Can i upgrade or use exting Repositoires ( 10g one) for ODI 11g OR i have to create new Repositoires & move/migrate the objects of 10G repositories as mentioned in the Oracle installation doc.
    3. Currently I am using OBIEE 10g for reposrting purpose & if i switch to ODI 11g , Do i need to use OBIEE 11g?
    ODI gurus, I need your reponse ASAP & i have to share it on urgent basis.
    Thanks
    Edited by: neeraj_singh on May 15, 2013 9:58 PM

    neeraj_singh wrote:
    Hi All,
    Currently I am using ODI 10g Version & Repositories ( Work & Master) have been installed on Oracle database version "Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi"
    We are thinking to migrate from ODI 10g to ODI 11g Version 11.1.1.5 & i have some queries which are metioned below.
    1. Can we install ODI 11g Version 11.1.1.5 version with Repositories ( Work & Master) on Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi" or do i need to upgrade my database version to 11G?.You can install ODI 11.1.1.5 but you have to upgrade your repositories using upgrade assistant
    refer http://docs.oracle.com/cd/E23943_01/upgrade.1111/e12642/tasklist.htm#CIHGIDFG
    2. If yes then, Can i upgrade or use exting Repositoires ( 10g one) for ODI 11g OR i have to create new Repositoires & move/migrate the objects of 10G repositories as mentioned in the Oracle installation doc.No need to create new repositories. You just upgrade them. But you need to takecare of certain things as you are a 10g user. Refer below link for the prerequisite
    http://docs.oracle.com/cd/E23943_01/upgrade.1111/e12642/prevusers.htm
    3. Currently I am using OBIEE 10g for reposrting purpose & if i switch to ODI 11g , Do i need to use OBIEE 11g?Not clear about the question ?
    >
    ODI gurus, I need your reponse ASAP & i have to share it on urgent basis.
    Thanks
    Edited by: neeraj_singh on May 15, 2013 9:58 PM

  • Error when exporting to flat file in ODI 11g

    This works ok in ODI 10g. I'm using IKM SQL to File Append on Windows Server 2008 R2
    Getting the following error when exporting to a flat file in ODI 11g: ODI-40406: Bytes are too big for array
    I've seen a couple of threads like this on the forum, but I've never seen an answer to the problem.

    Problem is with the difference in behaviour for the IKM SQL to File Append KM between 10g and 11g.
    Our 10g target file datastore had a mixture of fixed string and numeric columns. Mapping from the source to target was simple one to one column mapping. It generated the desired fixed format flat file; numerics were right adjusted with embedded decimal point and leading spaces. Each numeric column in the generated flat file occupied the exact space allocated to it in the layout. This gave the desired results, even though documentation for the 10g IKM states that all columns in the target must be string.
    When we converted to 11g and tried to run this interface, it generated an error on the "numeric" columns because it was wrapping them in quotation marks. The result column was being treated as string, and it was larger than the defined target once it acquired those quotation marks.
    In order to get 11g to work, I had to change all the numeric columns in the target data store to fixedstring 30. I then had to change the mapping for these numeric columns to convert them to right adjusted character strings (i.e. RIGHT(SPACE(30) + RTRIM(MyNumericColumn),30).
    Now it works.

  • DATE Format Error in ODI-11g(11.1.1.3)

    I am using ETL transformations in ODI-11g. There's a dominant issue regarding date formattings when I map an ODI variable (storing date) with a TGT column(datatype=date) mappings.
    In all the src-tgt mappings I am formatting the date by using TO_DATE() functions. But still getting the error:
    "ORA-01830: date format picture ends before converting entire input string".
    A point to Note: The same ETL in other env are ruuning fine but in my new dev env it's giving this date error.
    I had checked with the DBA folks and they confirmed they set equal DATE settings in all the env.
    The ODI Variable is defined as an "Alphanumeric".
    Tx Used: #BUSINESS_CURRENT_DT=TO_DATE('Date','YYYY-MM-DD')
    Require some urgent advice...Please let me know

    Hi,
    W store name-value pair in the Control table from where we exctract our data. Both (param name and param value) are varchars.
    Well this looks pretty strange in 11g! Here's what we found out...
    If you are trying to retrieve a date variable by using TO_DATE() in the refresh query the ODI Java driver (JDK 1.6) would call java.sql.timestamp and gracefully attach HH:MI:SS.NS along with the date (YYYY-MM-DD HH:MI:SS.NS). My target ia a date always..!
    So, when I do: TO_DATE('20101010','YYYY-MM-DD) in the refresh query ODI stores it as '2010-10-10 00:00:00.0'
    For this the Load always fails as Oracle would not be able to interpret a timestamp by suing TO_DATE()
    The Java driver does this damage. However, it may be wise to store as a timestamp rather as a date if in case u do a Data capture and want the exact time credentials.
    Unfortunately not a req, as of now for us so I had to chop-off the timestamp..!
    Let me know if you find any other details...
    Thanks.!

  • Issue in creating Master repository from ODI 11g

    Hi,
    I am unable to create a Master repository connection using ODI 11g from local machine. I am using Oracle server of 11g version and have Master and a Work repositories in it. When I was trying to create a connection using ODI 11g it is throwing me the following error message,
    Could not connect to repository
    java.lang.IllegalStateException: Local Repository table is empty
         at oracle.odi.core.repository.support.RepositoryUtils$RepositoryInfoSource.loadRepositoryInfo(RepositoryUtils.java:182)
         at oracle.odi.core.repository.support.RepositoryUtils.loadMasterRepositoryInfo(RepositoryUtils.java:373)
         at oracle.odi.core.repository.Repository.getMasterRepository(Repository.java:72)
         at oracle.odi.core.OdiInstance.createMasterRepository(OdiInstance.java:501)
         at oracle.odi.core.OdiInstance.<init>(OdiInstance.java:553)
         at oracle.odi.core.OdiInstance.createInstance(OdiInstance.java:529)
         at oracle.odi.ui.docking.panes.OdiCnxFactory$1.run(OdiCnxFactory.java:205)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         at java.lang.Thread.run(Thread.java:619)
    Suggest me to resolve this issue.
    Regards, Sujeev

    Try following links.
    They are nice and Explanatory.
    http://www.odigurus.com/2011/10/creating-master-repository-using-odi.html
    http://odinetwork.blogspot.in/2011/03/creating-and-connecting-to-odi-master.html
    http://odiexperts.com/creating-master-and-work-repository/
    Thanks,
    Mahesh

  • ODI 11g : JMS Queue XML Data Server creation

    Hi Everybody,
    I am facing a problem while i am trying to create a JMS Queue XML data server in ODI 11g. I have
    the following details of the queue.
    QueueManager=xxx;
    TransportType=1;
    HostName=ab.cde.fe.com;Port=77777;
    Channel=CLIENT.TO.xxx1
    destination name : SU.BH.RAJY.OTI.UPDATE_ITEM_RESPONSE.01
    user : xyz
    password : 123
    I have sussefully created an jms datasouce in weblogic name 'eis/jms/abc' and also I have successfully
    retrived the xml message from queue in BPEL
    (using a jms adapter where
    JMS Provider : Third Party,
    Jms Provider Jndi Name -eis/jms/abc,
    Operation name : consume_message,
    destinamtion name is queue:///SU.BH.RAJY.OTI.UPDATE_ITEM_RESPONSE.01?targetClient=1).
    But the new reqirement is to retive the xml data in ODI using "JMS Queue XML data server".I have tried
    several ways(reading from internet) but failed to configure physical dataserver and reverse the xml message.
    Also failed to understand properly the oracle post (http://docs.oracle.com/cd/E21764_01/integrate.1111/e12644/jms_xml.htm#CHDFCFBI).
    Speically this portion "JNDI URL: <JMS_RESOURCE>?d=<DTD_FILE>&s=<SCHEMA>&JMS_DESTINATION=<JMS_DESTINATION_NAME>.".
    What will be the "JMS_RESOURCE" in my case.
    How can I configure JMS Queue XML?
    Please help!
    Note : I don't have the XML message structure of the Queue(also DTD file). So , I have to reverse it.
    Thanks & Regards,
    Subhra
    Message was edited by: SubhrajyotiKundu

    Hi Everybody,
    I am facing a problem while i am trying to create a JMS Queue XML data server in ODI 11g. I have
    the following details of the queue.
    QueueManager=xxx;
    TransportType=1;
    HostName=ab.cde.fe.com;Port=77777;
    Channel=CLIENT.TO.xxx1
    destination name : SU.BH.RAJY.OTI.UPDATE_ITEM_RESPONSE.01
    user : xyz
    password : 123
    I have sussefully created an jms datasouce in weblogic name 'eis/jms/abc' and also I have successfully
    retrived the xml message from queue in BPEL
    (using a jms adapter where
    JMS Provider : Third Party,
    Jms Provider Jndi Name -eis/jms/abc,
    Operation name : consume_message,
    destinamtion name is queue:///SU.BH.RAJY.OTI.UPDATE_ITEM_RESPONSE.01?targetClient=1).
    But the new reqirement is to retive the xml data in ODI using "JMS Queue XML data server".I have tried
    several ways(reading from internet) but failed to configure physical dataserver and reverse the xml message.
    Also failed to understand properly the oracle post (http://docs.oracle.com/cd/E21764_01/integrate.1111/e12644/jms_xml.htm#CHDFCFBI).
    Speically this portion "JNDI URL: <JMS_RESOURCE>?d=<DTD_FILE>&s=<SCHEMA>&JMS_DESTINATION=<JMS_DESTINATION_NAME>.".
    What will be the "JMS_RESOURCE" in my case.
    How can I configure JMS Queue XML?
    Please help!
    Note : I don't have the XML message structure of the Queue(also DTD file). So , I have to reverse it.
    Thanks & Regards,
    Subhra
    Message was edited by: SubhrajyotiKundu

  • Odi 11g - IKM SQL to Hyperion Essbase (DATA) log file always empty

    In odi 11g when using *"IKM SQL to Hyperion Essbase (DATA)"* setting the the "LOG_ENABLED" = true,
    only an empty file are generated.
    Just "LOG_ERRORS" file (if errors occurs) are created.
    Is this just an my issue?
    Can someone help me?
    p.s.: the same issue, I got even with the *"IKM SQL to Hyperion Planning"*
    Thx in advance, Paolo

    Thanks John for your suggestion.
    here the patch *"Patch 10302682: IKM SQL TO PLANNING: LOG FILE IS CREATED BUT NOTHING INSIDE."*
    I didn't see any other about Essbase...
    I try to check all day on support site.
    Paolo
    Edited by: Paolo on 19-apr-2011 8.44

  • HOW TO INSTALL ODI 11g / OWB 11g  IN WINDOWS SERVER 2008 R2 (64 BITS)

    Hi everybody,
    I have a serious problem.
    Last week we buy a new server with Windows Server 2008 Std. R2 x64, for a new project. I tried to install the RDBMS Oracle 11g R2 (x64) without problems, but when i try execute the "Design Center" contents in OWB, show me the error: 0xc0000018
    Then, I´m thinking in install Oracle Data Integrator to solution it, but i`ve read that neither can install on 64 bits system... This is true?
    Somebdoy knows how can I install OWB 11g / ODI 11g in a Windows 2008 Server 64 bits?
    Thanks & Regards!

    OWB 11G Will have been installed with the database, it now ships with 11G.
    Check you are on a supported platform for design centre using the certification matrix.
    Quick google search for you regards 0xc0000018 :
    Problem in Lunching OWB Design Center

  • Default Data Server for Hypersonic SQL in ODI 11g

    Hi All,
    I installed ODI 11g 11.1.1.6.0 for Win 7 with 10g DB R2 and WLS 10.3.5 successfully without any issues.
    Created DEV_ODI_REPO Repository also without any issues.
    Created Master Repository snpm1 and Work Repository as snpw1.
    Created the Agents (Physical and Logical) and tested successfully.
    Created the data servers for respective technologies
    1) Technology Oracle -
        Data Server - ORACLE_ORCL_LOCAL 
        Physical Schemas - SALES_DEV & SALES_PROD and
        Logical Schema as ORACLE_ORCL_LOCAL_SALES
    2) Technology FILE -
        Data Server - FILE_GENERIC
        Physical Schema - FILE_GENERIC.E:/oracle/Middleware/Oracle_ODI1/oracledi/demo/file
        Logical Schema - FILE_DEMO_SRC
    3) Technology - XML
         Data Server - XML FILE
         Physical Schema - GEO_D
        Logical Schema - GEO_DIM
    4) Technology - Hypersonic SQL
         Data Server - HSQL   (Is this the correct name or some other name is recommended ? )
         Physical Schema - HSQL_LOCALHOST_20001_Default and HSQL_LOCALHOST_20001_Default
        Logical Schema - HSQL_DEMO_SRC and HSQL_DEMO_TARG
    All the Mappings are done properly using Development & Production context for Physical and Logical Schemas.
    I am able to create the Models for Oracle, FIle and XML with successful Reverse Engineering (standard with development context )
    with all the data displayed correctly.
    The issue starts here
    The Main issue is for Hypersonic SQL where I am not able to get the Reverse Engineering.
    Technology - Hypersonic SQL  I have defined the data server as HSQL
    Is this correct data server or some other name for data server is suggested ?
    I am able to start the startdemo.bat file successfully opening the 3 dos prompt windows as
    a) Oracle DI Demo - Repository Server
    b) Oracle DI Demo - Source Server
    c) Oracle DI Demo - Target Server
    Later I make  entries on the JDBC tab od HSQL - Data Server as
    JDBC Driver : org.hsqldb.jdbc.JDBCDriver
    JDBC Url : jdbc:hsqldb:hsql://localhost
    Test Connection - ok with successful connection.
    Prior to this I already run the script created schemas and inserted data to the SRC_ tables in my 10g Database as
    ORDERS - containing the Tables as SRC_CITY, SRC_CUSTOMER, SRC_PRODUCT, SRC_REGION.....
    In the Designer I create a new Model as HSQL_SRC
    Technology - Hypersonic SQL
    Logical Schema - HSQL_DEMO_SRC as defined earlier in logical schema.
    Reverse Engineer Tab - Selected as Standard   Context selected as Development from drop down list.
    When I right click on HSQL_SRC model for reverse engineer, it executes, however it does not display any tables inserted
    as shown for ORDERS Schema.
    Please correct me where I am wrong in giving the name for data server ? or some other place.
    Thanks
    Ajaz

    Hi,
    according to docs
    http://docs.oracle.com/cd/E23943_01/integrate.1111/e12644/hypersonic_sql.htm#ODIKM590
    i see
    JDBC Driver: org.hsqldb.jdbcDriver
    JDBC URL: jdbc:hsqldb:hsql://<host>:<port>
    could you modify
    JDBC Driver : org.hsqldb.jdbc.JDBCDriver
    JDBC Url : jdbc:hsqldb:hsql://localhost
    according to docs?
    Thanks

  • Do I need to install odi-public-ws.aar for ODI 11g?

    Hello -
    Prior to ODI 11g - used to upload odi-public-ws.aar to Axis2 on Application server. Starting in 11g do we still need to do that? I was told JAX-WS takes care of that. If that's the case - what URL is used to call the ODIInvoke from SOA? Is it still that same in ODI 11g as well? http://localhost:8888/axis2/services/OdiInvoke?wsdl ???????????
    What I'm trying to do is integrate ODI 11g & SOA 11g(BPEL). I want to call a ODI Interface IN BPEL. Unsure how it works in ODI 11g?
    Any pointers would be helpful
    Thanks

    the metalink note : How To Execute An ODI Scenario Using A Web Service [ID 795503.1]
    provides answer how to deal with ODI 11g
    tx

  • ODI 11g link editor problem

    Hi
    I have recently upgraded to ODI 11g from ODI 10g.
    In ODI 11g when we are clicking on the Link Editor option it is throwing following error.
    ODI-20344 Cannot Launch the editor for this expression
    sun.awt.X11.XException: Cannot write XdndAware property
    We are using JDK1.6 .Please let me know the solution at the earliest.
    Thanks!!

    Thanks!! We have tried your solution ,it is working for first time, when we are trying to edit any other expression i.e second time, it is the trowing the same error.
    Edited by: 898955 on Nov 24, 2011 2:16 AM

  • Unable to install the Demonstration Environment with ODI 11g

    Hi,
    Can someone please help me with Demonstration environment installation with ODI 11g on a windows system.
    I have downloaded the zipped file from the OTN site.
    I am unable to understand the installation steps in the user guide.Posting them for your reference.
    "To manually install the Demonstration environment, do the following:
    Unzip oracledi-demo.zip in the ODI_HOME folder.
    Verify that the JAVA_HOME environment variable is set and contains the path of a JVM suitable for Oracle Data Integrator.
    If this variable is not set correctly, set it to a valid java machine location.
    For example:
    On UNIX operating systems:
    setenv JAVA_HOME/usr/local/java
    On Windows operating systems:
    Set the JAVA_HOME variable graphically "
    Regards,
    Lovey Saxena

    Hi;
    Did you try to start installation? Your Java_Home could be avaliable on your env settings, so you dont need to set this for installation. If its fails please try to use this syntax:
    Set JAVA_HOME=C:\xxx
    Regard
    Helios

  • Issue with the upadted database Schema in ODI 11g ?

    Hi ,
      I am new to ODI ..  and i am using ODI 11g .
    the problem which i am facing is below stated :
    I have an existing interface with both source and target tables its working fine . when there is change in the column in the source and the target table i do the reversed enginnner to get the new colums in the source nad the target schema .
    I tried to retain the existing mapping  of source and traget by deleting the source schema and replacing it with the newly updated schema  in the source colum in the interface .
    and  drag and drop the the newly updated schema In the target colum in this way i was able to retain the existing mapping ,and did the mapping for the new columns in both .
    The problem is that it is running succesful and data for the earlier existing mapping are moving from source to target but not for the newly mapped column .
    please help me out in sorting out this issue 
    the knowlede modules that i am using it are as follows
    For LKM  i am using LKM SQL to SQL
    For CKM  - CKM SQL
    FOR IKM -IKM SQL Incremental Update

    Thanks for the suggestion .i am working with Interface . i implemented that and got the colums without deleting anything ,but when  i am mapping the newly upadted colums i am getting an error while executing the Interface .
    ODI-1228: Task TARGET_1 (Control) fails on the target  connection odipoc.
    Caused By: java.sql.SQLSyntaxErrorException: ORA-00904: "COUNTRY": invalid identifier
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3954)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1539)
    at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)
    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.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)
    at 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)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
    at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
    at java.lang.Thread.run(Thread.java:662)

  • How to capture Field validation errors in the Error table in ODI 11g

    Hello,
    We are using ODI 11g (11.1.1.5) and the scenario is to read the data from a flat file (.txt) and do a bulk insert into MS SQL Server database table.
    We need to capture the error records (if the source field size is greater than the target column size) into the error table. However the interface errors out at step "Loading - SrcSet0 - Load data (BULK INSERT)" with error message "SQLServer JDBC Driver][SQLServer]Bulk load data conversion error (truncation) for row 33, column 6" but these errors are not being inserted into the error table.
    Is there a way to capture these errors in the error table? Below is the KM details.
    LKM: LKM File to MSSQL (BULK)
    CKM: CKM SQL
    IKM: IKM MSSQL Incremental Update
    FLOW_CONTROL is set to true for the IKM.
    Thanks,
    Krishna

    Hello,
    I had the same problem with ODI when I was trying BULK INSERT of the txt file into MS SQL. Check the cell(s) in your source file (txt) - it looks like the value in hte cell has hiding symbols: when pressing F2 tryng edit the value in the cell the coursor appared far to the right from the right end of the value. So, try to use backspace to delete the hiding symbols and verify the above. If avasrything is OK, then modify your txt file. Let me know if it works.
    BTW , I've created procedure inside the MS SQL 2008R2, which BULK INSERTed records into temporary (#...) table and immediatelly, without any verification all the records were inserted into the final table in the DWH here is the statement:
    if object_id('TEMPDB..#<table>','U') is not null drop table #<table>
    CREATE TABLE [dbo].[#<table>] 
    [1] [varchar] (50) NULL, 
    [2] [varchar] (100) NULL, 
    [3] [varchar] (100) NULL, 
    [4] [varchar] (100) NULL, 
    [5] [varchar] (100) NULL, 
    [6] [varchar] (100) NULL, 
    [7] [varchar]  (100) NULL, 
    [8] [varchar] (100) NULL, 
    [9] [varchar] (100) NULL, 
    [10] [varchar] (100) NULL, 
    [11] [varchar] (100) NULL 
    ) ON [PRIMARY]
    bulk INSERT #<table> FROM 'N:\<table>.txt'
    with
    (FIRSTROW=2,KEEPNULLS,CODEPAGE=1252,FIELDTERMINATOR='\t'
    INSERT
    INTO <table>
    SELECT
    * FROM #<table>
    and it works! Let me also know if you find any other way around.
    regards
    Anatoli

  • Error while using startcmd.sh for OdiExportScen in ODI 11g

    Hi,
    I have upgraded ODI 10g to ODI 11g.
    I have a package wherein I have defined a procedure which has the following jython code for export of scenarios to ODI server.
    import os
    scen='#DEPLOYMENT.PVV_GET_SCN'
    scen_name=scen[5:-7]
    scen_ver=scen[-7:-4]
    file_name='/soaap/ODI_HOME/Scenarios/#DEPLOYMENT.PVV_GET_SCN'
    odiscen="/soaap/ODI_HOME/oracledi/bin/startcmd.sh OdiExportScen -SCEN_NAME="+scen_name+" -SCEN_VERSION="+scen_ver+" -FILE_NAME="+file_name
    if os.system(odiscen) <> 0:
    raise odiscen
    This code was working fine on ODI 10g but now I am getting this error when exeuting on ODI 11g :
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 8, in ?
    /soaap/ODI_HOME/oracledi/bin/startcmd.sh OdiExportScen -SCEN_NAME=SCN_PKG_DEPLOYMENT -SCEN_VERSION=002 -FILE_NAME=/soaap/ODI_HOME/Scenarios/SCEN_SCN_PKG_DEPLOYMENT002.XML
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:345)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:169)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2374)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java:1615)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java:1580)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2755)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:322)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:237)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:794)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:619)
    Please guide for this.
    Thanks,
    Divya

    Hi,
    I was trying to execute the same thing in ODI 10g with the script you have mentioned and get errors with invalid syntax.
    Can you please explain how did you execute the export scenario command in ODI 10g. Would we really helpful.
    We are trying to export scenarios from operator to the local directory.
    Please find the script.
    import os
    scen='#V_GET_ODI_SCEN'
    scen_name=scen[5:-7]
    scen_ver=scen[-7:-4]
    file_name='C:\ODI_SCEN_DMP\#V_GET_ODI_SCEN'
    odiscen="C:\OraHome_1\oracledi\bin\startcmd.bat OdiExportScen -SCEN_NAME="scen_name" -SCEN_VERSION="scen_ver" -FILE_NAME="+file_name
    if os.system(odiscen) <> 0:
    raise odiscen
    org.apache.bsf.BSFException: exception from Jython: Traceback (innermost last):
    (no code object) at line 0
    File "<string>", line 6
         odiscen="C:\OraHome_1\oracledi\bin\startcmd.bat OdiExportScen -SCEN_NAME="scen_name" -SCEN_VERSION="scen_ver" -FILE_NAME="+file_name
         ^
    SyntaxError: invalid syntax
    Your help is appreciated.

Maybe you are looking for

  • W_AR_AGING_INVOICE_A.REMAINING_DOC_AMT

    In the W_AR_AGING_INVOICE_A table, we are noticing that there are some invoices that have been closed/cleared in our source EBS system that still have a non-zero balance value in the REMAINING_DOC_AMT column. I opened up the PLP_ARSnapshotInvoiceAgin

  • How do I move a file in the Creative Cloud website?

    I have some of my assets organized into collections (folders), and now I want to move an item into one of the folders.  How do i do that?

  • Help please - my adobe reader stpped working

    Does anybody know how to solve this problem - I'm paying for the service and I'm ticked as i have a deadline! Also, I'm not a computer techie type.

  • Auto GR clubbed with Serial number assignment

    Hi, When I confirm an order, I want the Auto GR and serial number assignment to be done. Is this possible? Request you share your ideas if you aer aware of any Thanks, SS

  • Problems downloading multiple ftp files

    Hi community! I'm new to this board, and i've joined because I got a severe problem. I need to download some thousands of files the path of which I'v got stored i an SQLServer Database. So, i'm just running through my db and for every line I download