Isues with ODI Start Scenario

I need help in executing the odi start scenario command.
We have around 100 scenarios to be executed thru an external framework. I am trying to create a generic scenario which can used to trigger the 100 scenarios dynamically using a variable so that, at run time i can pass the scenario names one after the other.. This is the command:
OdiStartScen -SCEN_NAME=#SCN_NAME -SCEN_VERSION=001
OdiStartScen "-SCEN_NAME=#SCN_NAME" -SCEN_VERSION=001
Both these versions did not work for me.

Hi,
You need call a specific version or the last version? If you need the last, try -SCEN_VERSION=-1 . -1 indicates to agente to be use a last version avalaible.
Regards

Similar Messages

  • ODI, can't start scenario running in different machines

    Hello All
    Well i am working in a consulting proyect where I need ODI and BPEL to connect each other.
    I have installed Oracle SOA Suite for weblogic 9.2 in a machine with ip 192.168.1.108
    I have installed ODI as a server in another machine ip 192.168.1.109
    I have installed Oracle Data Base in the of ODI 192.168.1.109
    Then I installed ODI CLIENT in my laptop (i mean, the topology manager, designer, operator all in my laptop)
    I have made a simple example where i created a "interface in odi" using ODI designer and the a package in which a call a bpel process and it works fine
    Now i need to create a bpel process to call a ODI SCENARIO...but i am stock in it.
    I have done the following:
    1. I deployed the AXIS2 webservice and it's working ok.
    2. I have started and ODI agent and I tested it using the topology manager and it is OK
    3. I created and deployed a bpel process to call the ODI scenario
    When i execute the instance of bpel, i get the following error in the AGENT (which is running in the same machine where ODI SERVER is installed 192.168.1.109)
    Server Launched
    java.lang.NullPointerException
            at com.sunopsis.dwg.dbobj.SnpScen.getObjectLst(SnpScen.java)
            at com.sunopsis.dwg.dbobj.SnpScen.getScenarionByCodeAndVersion(SnpScen.java)
            at com.sunopsis.dwg.cmd.DwgCommandScenario.b(DwgCommandScenario.java)
            at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
            at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
            at com.sunopsis.dwg.cmd.e.t(e.java)
            at com.sunopsis.dwg.cmd.h.y(h.java)
            at com.sunopsis.dwg.cmd.e.run(e.java)
            at java.lang.Thread.run(Thread.java:595)
    java.lang.NullPointerException
            at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
            at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
            at com.sunopsis.dwg.cmd.e.t(e.java)
            at com.sunopsis.dwg.cmd.h.y(h.java)
            at com.sunopsis.dwg.cmd.e.run(e.java)
            at java.lang.Thread.run(Thread.java:595)
    And of course, the Scenario doensn't start.
    I have done many many tests, but i can't make it work.
    In my last test, I tried to invoke an odi scenario using the STARTSCEN.bat
    I followed the instructions in the otn thread {thread:id=839508}
    I modified the odiparams.cmd like this
    set ODI_SECU_DRIVER=oracle.jdbc.driver.OracleDriver
    set ODI_SECU_URL=jdbc:oracle:thin:@192.168.1.109:1521:soadesa
    set ODI_SECU_USER=ODIMASTER
    set ODI_SECU_ENCODED_PASS=ccfHG.0VJJ73yntbtLhr7xxbls
    set ODI_SECU_WORK_REP=ODIWORK
    set ODI_USER=SUPERVISOR
    set ODI_ENCODED_PASS=fJyH6P1neaZHeWG1cxpicApI Launched the agent in my laptop (local)
    and i got the same error in the ms-dos console where I use the startscen.bat program
    startscen CREATE_BPEL_HWF_TASKS 002 Global
    Starting scenario CREATE_BPEL_HWF_TASKS 002 in context Global ...
    java.lang.NullPointerException
            at com.sunopsis.dwg.dbobj.SnpScen.getObjectLst(SnpScen.java)
            at com.sunopsis.dwg.dbobj.SnpScen.getScenarionByCodeAndVersion(SnpScen.java)
            at com.sunopsis.dwg.cmd.DwgCommandScenario.b(DwgCommandScenario.java)
            at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
            at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
            at com.sunopsis.dwg.cmd.e.t(e.java)
            at com.sunopsis.dwg.cmd.e.y(e.java)
            at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
            at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
            at oracle.odi.Agent.main(Agent.java)
    java.lang.NullPointerException
            at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
            at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
            at com.sunopsis.dwg.cmd.e.t(e.java)
            at com.sunopsis.dwg.cmd.e.y(e.java)
            at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
            at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
            at oracle.odi.Agent.main(Agent.java)
    java.lang.NullPointerException
            at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
            at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
            at com.sunopsis.dwg.cmd.e.t(e.java)
            at com.sunopsis.dwg.cmd.e.y(e.java)
            at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
            at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
            at oracle.odi.Agent.main(Agent.java)Does anyone know what could the possible problem be???
    I have tested the connection to the schemas/user of the database (ODIMASTER and ODIWORK repositories) and it's OK
    I am kind of new using ODI, but i have made the same TEST in a Virtual Machine installed in my laptop, where i use a Express Edtion Database, a BPEL console, and ODI CLIENTE (everything local) and all the tests works ok.
    1. Call a bpel web service from ODI ....OK
    2. Call a ODI scenario from BPEL using the AXIS2 web service ....OK
    3. start an scenario using the msdos console STARTSCEN ....OK
    I also checked that the SNP_REM_REP and SNP_LOC_REPW columns are the same in the master and work repositories, but it's OK
    What could be my problem?
    I think i can be related to the MASTER and WORK repositories, but i don't know what more could i check
    Thanks in advance

    It was a mistake with the parameters using the ODIparams.sh

  • 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

  • How to Read file name which we are dealing with ODI File tool

    Hi,
    We are using ODi10g version and we have requirement to move file from one place to another place. We are using ODIFileMove utility but we also want to read file name.
    Any help.
    Thanks in Advance.

    You can accomplish this with a fairly simple Jython script.  Use the os.listdir(<directory>) command to get the name of files in a given directory. 
    You can then (still in the Jython script) loop through the files and move them to a desired location (bypassing the OdiFileMove tool) OR use the Jython script to write the file names to a SQL table.  Then, use an ODI procedure to loop through the newly inserted records and store the file name in an ODI variable that you can then use in your OdiFileMove tool etc.
    I often refer to this blog entry from Gurcan Orhan as a starting point for this kind of task: Loading multiple files with ODI | Gurcan Orhan&amp;#039;s Oracle Data Integrator Blog

  • 11g problem with Win7 starter

    Taking a class and the book came with Oracle 11g DVD. Tried to load it onto my laptop and get an error when checking the operating system. The error is something like "expecting 5.0, 5.1, or 6.0 received 6.1" which I am assuming refers to Win7 vs vista/xp etc... Is there a way I can tell from the DVD 11g version # (afraid I don't have it in front of me now) which version of 11g came with the book and which version file(s) I should download from Oracle to run with Win7 starter?
    Thanks in advance
    Bill

    Ok, I get that its certified for Pro and Ultimate (which I don't think I can run on my netbook I use for homework), but I think I veered the conversation away from my original point. The version of Oracle 11g which came with my textbook says it will run on win2k, winXP, and Vista but craps out when trying to load onto Win7. The version of Oracle (to best of my recollection, as I don't have the disc in front of me is 11.0.1.something).
    I guess my big question is would this version load on Win7 pro or do I need a newer version of Oracle that will load onto Win7? If I do need a new version in order to load on Win7, how can I tell which flavor of Oracle I have on my DVD - the free version, the next one up with a student license???
    Worst case scenario, I load it onto my desktop that is still running XP, but I would like to be able to take it with me on the netbook to do my homework whenever I find time.
    Thanks,
    Bill

  • How to configure OBIA 11.1.1.8.1 with ODI

    Hi forum,
    I want to configure Oracle Business Intelligence Apps 11.1.1.8.1 installed on Linux with ODI ver 11.1.1.7.
    Can anybody please provide:
    1) A tutorial about how to setup ODI for OBIA 11.1.1.8.1?
    2) Than how to perform functional configuration using Oracle Data Integrator, Oracle BI Applications Configuration Manager and Functional Setup Manager?
    3) How to Create, Run and Customize ETL in Oracle Data Integrator?
    Thanks

    a) Do what most people do and read the documentation (Oracle Business Intelligence Applications 11g Release 1 (11.1.1.8.1) Documentation Library) that comes with the product, installation details will be documented. No one is going to go through all the installation steps for you in these forums. The links I provided before are good starting points. If you are still struggling get hire a consultant to help you out.
    b) The ODI studio is just a client so you can install it on whatever OS you like. The repositories are simply databases and can be installed on a database whether it is hosted on Windows or Linux etc and the agent is Java so again is platform independent. You can configure the setup distribution however you want as long as the repositories can be connected to via JDBC from the studio client.

  • ODI Export Scenario, only main?

    Hi,
    i learned in forums that in order to move my ODI project to production i need only to export my main package/scenario.
    However, my main package calls others packages/scenarios, thus, it requires me to export these sub-scenarios for the production environment.
    Can you please confirm if i can export solely the main Scenario to production?
    Otherwise i would have to export all scenarios and would be harder to maintain.
    Thanks

    Hi,
    If your main package only contains Interfaces / Proceedures etc then its ok with just this scenario (as the main scenario contains the comiled code), if however you make a call to another sub-scenario from your main , then you need to move these scenarios along with the main (otherwise you will get 'scenario not found' error)
    Hope this helps,
    Regards
    Alastair

  • Issue with Ord Start Date

    Hi,
    I am having issue with Ord Start Date.
    When i create XYZ Asset now when i do the acquasation for that new asset. Example: Using FB01 i enter todays date and i do the posting.
    Now when i go to DEP Area TAB for the DEP Key (M200) - The Ord Dep Start Date is 15 Dec 2010.
    For this DEP Key Period Control Methods (T code - AFAMP) - Acquisation Entered is ( 6 that is - at the start of year) and the Period Control is ( T code - OAVS) (4 that is - First year convention at half year start date).
    Our client is using the fiscal year as 1 June 2010 to 31 May 2011.
    So when i do acquistion for the asset as per the period contol the Ord Dep Start Date should be 1 Dec 2010, but here it is talking 15 Dec 2010.
    Why is system talking 15 days more.
    Regards.

    Hi
    Which Fiscal year variant are you using??
    Did you maintain it in OAVH? Copy the existing entry in OAVH for K4 to your Fisc Yr var and try again
    And also, 04 does not figure for Acquisitions in AFAMP under 0004.... Whatever you specify in OAVH must also be a part of AFAMP
    Regards
    Ajay M
    Edited by: Ajay Maheshwari on Oct 28, 2010 2:31 PM

  • Issues with ODI connection to Hyperion Financial Management

    Hi,
    I am having some issues with ODI connection to Hyperion Financial Management. ODI and Financial management are setup on different machines.
    The ‘Cluster(Data Server)’ name in Topology is given as ‘hfm03cl’. On reverse-engineering a model it gives the following error:
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 38, in ?
    com.hyperion.odi.common.ODIHAppException: Error occurred in driver while connecting to Financial Management application [HFM1] on [hfm03cl] using user-name [admin].
    at com.hyperion.odi.hfm.ODIHFMAppConnection.<init>(ODIHFMAppConnection.java:58)
    When HFM is installed on the same machine, it works fine. How does ODI identify a cluster on a different machine? Do I have to give the machine name along with the cluster name? If so, what is the format?
    Thanks,
    Su

    You will need to have the HFM client installed on any machine that will be running ODI (i.e. Designer or Agent) that will be executing connections to an HFM server.
    Once you have the HFM client installed, see if you can actually connect to HFM from that machine using the HFM client.
    Couple of other thing, in the Physical Schema, have you set the Application Catalog and Work Catalog to the same HFM application?
    Also, when you are reversing, are you using the local agent or one you have installed using agentservice?
    geeo

  • I am trying to find out if I can change a setting of the calendar in my iPhone.   When I view calendar, in month, I would like to view it with the starting day of the week being Monday, not Sunday.  Is it possible to make this change? SS

    I am trying to find out if I can change a setting of the calendar in my iPhone. 
    When I view calendar, in month, I would like to view it with the starting day of the week being Monday, not Sunday.  Is it possible to make this change?

    Hello SMEvans32
    You can use iCloud to share the Calendar, that way she will always be up to date on that particular section of your work calendar. If you want to use iCloud, I would recommend backing up so you have a safe copy of your data.
    iCloud: Calendar sharing overview
    http://support.apple.com/kb/PH2689
    iCloud Setup
    http://www.apple.com/icloud/setup/
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • How to export data from DB to flat file with ODI?

    we want to export DB2 tables to flat files.
    Who can tell me how to do it with ODI?
    Please give me a simple example or steps.
    Thank you.

    There are two ways
    Either use IKM Sql to File Append
    (or)
    OdiSqlUnload
    For OdiSqlUnload you can use this technique to provide the connection parameters - http://odiexperts.com/?p=1985

  • Hyperion Planning- Account dimension - Sort Order Issue with ODI 11.1.1.5

    Hello Experts,
    First of all, I thank you everybody in this forum for posting their valuable suggestions.
    I am facing a strange issue with ODI (Version 11.1.1.5) while loading metadata to Planning ACCOUNT dimension (Version 11.1.2.x). I am using a Oracle view to load metadata to this dimension. I have defined the sort order in the view and enabled SORT_ORDER_BY_INPUT. For the fresh load to the dimension, everything is working fine. But, when I move a member from one parent to another parent, and define it as the top member of new parent, it is missing its sort order.
    But it is working fine if you define it as the second, third...or last member under new parent. I have tried all the possible ways by flipping all the properties but unable to fix it.
    Please help me here to resolve this issue.
    Your help is greatly appreciated!!
    Thanks
    Edited by: user11965311 on Sep 20, 2011 7:07 PM

    To be honest I think you are best logging it with Oracle because it sounds like you are doing everything correctly so it could be a bug.
    Have you tested this on any previous versions of ODI or is it a new installation?
    If it does get logged with Oracle please keep me informed of the outcome as I would be interested to hear.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Problem using SQL Loader with ODI

    Hi,
    I am having problems using SQL Loader with ODI. I am trying to fill an oracle table with data from a txt file. At first I had used "File to SQL" LKM, but due to the size of the source txt file (700MB), I decided to use "File to Oracle (SQLLDR)" LKM.
    The error that appears in myFile.txt.log is: "SQL*Loader-101: Invalid argument for username/password"
    I think that the problem could be in the definition of the data server (Physical architecutre in topology), because I have left blank Host, user and password.
    Is this the problem? What host and user should I use? With "File to SQL" works fine living this blank, but takes to much time.
    Thanks in advance

    I tried to use your code, but I couldn´t make it work (I don´t know Jython). I think the problem could be with the use of quotes
    Here is what I wrote:
    import os
    retVal = os.system(r'sqlldr control=E:\Public\TXTODI\PROFITA2/Profita2Final.txt.ctl log=E:\Public\TXTODI\PROFITA2/Profita2Final.txt.log userid=MYUSER/myPassword @ mySID')
    if retVal == 1 or retVal > 2:
    raise 'SQLLDR failed. Please check the for details '
    And the error message is:
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 5, in ?
    SQLLDR failed. Please check the for details
         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.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.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.h.y(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)

  • Hyperion 11.1.1.2 version compatibility with ODI 10.1.3.5.0

    Hi,
    Whether Hyperion EPM 11.1.1.2 version compatible with ODI 10.1.3.5.0 for Planning/HFM metadata loading and Essbase data loading?
    Thanks,
    Naveen Suram

    Hi,
    They are certified for version 11, though there is still an issue when you use the calc script method for exporting data.
    There is also a problem with loading data this exists on all the versions and it due to be fixed in the next EPM release later this year.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to do file validation with ODI 10.1.3.5

    Hi Team,
    Please help me, how to handle file validation with ODI?
    My source is files.
    Requirement:
    With ODI i have to do the file validation and file data loading successfully. Once it is successfully done then i have to move the particular file and move to different directory.
    Any internal tool is there in ODI package to watch the file.
    Regards,
    Suresh

    Hi Suresh,
    You can do your file loading and validation in an ODI interface.
    Once you are done with the interface, add it to a package, you can set up subsequent steps in the package to move the file to another location using the built in ODI file utilities in the package.
    Terrence.

Maybe you are looking for

  • Nokia C5 03 and .lmx - how can I do it?

    So, today I was so happy as I got my new Nokia C5 03 phone. I chose it from the ones my phone company offered to me just for one reason - free GPS  for my bike rides. The only problem I am having now is that I have .lmx files (which should work on my

  • Error in Check in of Originals by BAPI In background

    Hi Friends We have requirement to check in the documents in DMS in background mode using  BAPI_DOCUMENT_CHECKIN_REPLACE2 . Original files are stored on application server in folder G: drive . When I run this BAPI  in foreground mode it runs fine. But

  • Email button appears after specific action?

    HI, I have a form where it needs multiple signatures - is there anyway that when the last signature is applied that an email button appears on the form to send it to the department that needs the form? Thanks Jodi

  • CSS -Can TCP port number under the VIP be different to real server TCP Port

    Client TCPrt : 80 -----------------------------> CSS VIP to the actual server on TCP port 5555 --------------> Server The requirement is that client will send a request to VIP on port 80 and VIP has to forward the request to server on a different por

  • Need to restore iphone 5 but itunes doesn't recognise it

    Hi I tried to update my iphone 5 to the latest iOS7 using iTunes but I got error message 4005. My phone is stuck on the connect to iTunes screen and I understand that I need to restore it to factory settings and can do this using iTunes. But when I p