How to execute an ODI package from Command Line

Please can anyone help me to know how to execute an ODI package from the command line without creating a scenario from the package.
Appreciate your help.
Thanks
B

You can't. Create a scenario and then execute that from the command line.

Similar Messages

  • How to execute My Javascript code from command line or through perl or VB

    Hi Forum,
    I am a new bie, just 2 days old to acrobat and javascript, and I am basically a perl developer
    Here with I have created a small script to merge two pdf
    // Create a new PDF document:
    var newDoc = app.newDoc();
    // Insert doc1.pdf:
    newDoc.insertPages({
    nPage : -1,
    cPath : "/d/sathish/1.pdf",
    // Insert doc2.pdf:
    newDoc.insertPages({
    nPage : newDoc.numPages-1,
    cPath : "/d/sathish/2.pdf",
    // Save the new document:
    newDoc.saveAs("/d/sathish/myNewDoc.pdf");
    My code is working fine and merging properly,
    Is there any way to execute this script through commandline or using some other scripting languages like perl or through VB
    My objective is to automate the merging process without any manual intervention, I don't want to open acrobat manually to execute this javacript, i want to automate that process too,
    Please suggest me which will be very helpful to me,
    Thanks in advance
    Thanks & Regards
    Sathish V.

    Hi Sathish,
    did you find a solution for this? I am looking for the same thing. I want to write a program(perl, batch script, etc.) which could automatically convert pdf to excel without any manual intervention.
    I have the acrobat javascript which could achieve this, but it can only be executed in arobat consolt.  I need it to be able to get executed in a script to automate the processing.
    thanks
    Warren

  • How to call a ODI Job using Command line?

    Hello All,
    Please help me on this..
    How to call an ODI Job using Command line?
    Thanks
    Ravikiran

    Generate a scenario of your package. Then go to <ODI_HOME>/oracledi/agent/bin in command prompt and invoke startscen command .
    startcmd.sh OdiStartScen -SCEN_NAME=scn_load_data -SCEN_VERSION=001 -CONTEXT=GLOBAL -AGENT_CODE=odiSchedAgent001
    Bhabani
    http://dwteam.in

  • Compiling packages from command line

    hi...good morning all...
    I want to compile 5 packages from command prompt..
    I have written a batch file like this...
    d:
    call sqlplus -s scott/tiger@ora11g @package1.sql
    call sqlplus -s scott/tiger@ora11g @package2.sql
    call sqlplus -s scott/tiger@ora11g @package3.sql
    call sqlplus -s scott/tiger@ora11g @package4.sql
    call sqlplus -s scott/tiger@ora11g @package5.sql
    pause
    exit
    But it is not running...only the package 1 is getting compiled after putting a '/' after the prompt "call sqlplus -s scott/tiger@ora11g @package1.sql"..
    But the rest of the packages are not getting compiled..it is not throwing any error also...I have kept the 5 package bodies in the D drive...
    Please help..

    thanks a lot friends for your replies...
    @mahir: I have made a test.sql(in d drive) file which contains the following wntry only
    @d:\package1.sql
    @d:\package2.sql
    @d:\package3.sql
    @d:\package4.sql
    @d:\package5.sql
    and from another bat file(run.bat) i have called that...
    sqlplus -s scott/tiger@oracle11g @test.sql
    but it is not running....
    I have pressed '/' then the first package compiled and again it got stopped..
    the number of times i pressed '/', the number of times it got compiled...there are only 5 packages...but if i pressed the '/' for 20 times ,it is compiled for 20 times...so i think the rest of the packages are not getting compiled...
    @ravikumar: I dont want to execute the same command for different packages...I want to run all the packages at a single go...

  • How to run a 10g report from command line ?

    Good Afternoon,
    Please advise if there is a way to run a 10g report from command line.
    We use 6i right now and our job scheduler runs reports using "D:\ORADEV6I\BIN\RWRUN60.EXE ..." executable in batch mode on a separate server. We plan to migrate to 10g Database, Forms, Reports. Is there a way to keep this functionality and create a "command" to address an report server and run a report?
    Thank you,
    Dmitri

    Steps to take.
    (1.) In command prompt type RWSERVER SERVER=repserver1 to star the rep server.
    (2.) If you get "Javaw.exe The procedure entry point psoasyn could not be located in the dynamic link library orapls10.dll." error do one of the following
            (a.) Type the full name for the server. D:\OracleDevR2\bin\rwserver SERVER=repserver1
                   or, if it does not work
            (b.) Add D:\OracleDevR2\bin to the system env. variable PATH
    (3.) Start OC4j
    (4.) Now you can access the jobs using URL like:
        http://192.161.11.143:8890/reports/rwservlet/showjobs?server=repserver1
          where 192.161.11.143 is your machine's IP address.

  • Execute a stored function from command line

    Hello,
    I have a db stored function and I need to execute it from command line. I've tried by this way:
    (I need to connect with sys credentials)
    sqlplus sys/mypwd@mydb AS SYSDBA @myfile.sql
    and myfile.sql is:
    exec myschema.sf_test;
    but I get this error:
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00221: 'sf_test' is not a procedure or is undefined
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored

    You can use exec command for the execution of a procedure with out bind variable, but for a function always use bind variable.
    Function should return a value, so you must have to assign the function return value to a variable.
    like given below(or simply query the function using select statement)
    Method 1
    ======
    variable v1 number;
    exec :v1 := t_func;
    Method 2
    ======
    declare
    x1 NUMBER;
    begin
    x1 := t_func;
    end;
    SQL> create function t_func return number
    2 as
    3 begin
    4 return 0;
    5 end;
    6 /
    Function created.
    SQL> exec t_func;
    BEGIN t_func; END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00221: 'T_FUNC' is not a procedure or is undefined
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    Method 3
    ======
    SQL> select t_func from dual;
    T_FUNC
    0
    Regards
    JJ

  • How to open an online pdf from command-line

    Hi,
    I'm trying to get my application to open a pdf file from an url like http://xxxx.dk/xxx.aspx?CID=xxx
    it work from inside adobe reader so the pdf file is a functionel file, but when i try to open it from command line like: AcroRd32.exe /n /A "pagemode=none" "http://xxxx.dk/xxx.aspx?CID=xxx" i keep getting an error telling me "There was an error opening this document. The filename, directory name, or volume label syntax is incorrect"
    does anyone have an idea of what i need to do? i could also make a public test if someone needs to see the issue "live"

    it works with the browser, so no problems there.. i just wanted the pdf file to open in adobe reader instead of browser window, as it opens from a windows application.. but perhaps i need to look more into merging a embedded pdf viewer in the application instead..

  • How to run Report Builder Report from Command line

    Hello,
    Can Oracle Report Builder Report (run time report) run from Command line ( SQL prompt or Shell script).
    Quick response will be appreciated.
    Thanks,
    Atif

    Hi Atif,
    please see Note 74648.1 on Metalink.
    Monica

  • How to export and import database from command line?

    I am trying to export my old database into new server.
    However, I want to export and import that database from command line.
    Is it possible?
    Thanks.
    SZ

    I used this command
    exp username/password@database full=y
    my export log file is as follwing:
    Connected to: Oracle8i Enterprise Edition Release 8.1.5.0.0 - Production
    With the Partitioning and Java options
    PL/SQL Release 8.1.5.0.0 - Production
    EXP-00037: Export views not compatible with database version
    EXP-00000: Export terminated unsuccessfully

  • How to execute ODI scenarios from command line in Unix

    Hi Friends,
    I am using ODI 11g.
    I want to execute ODI senarios using the command line argument in Unix.
    Please let me know how to proceed with this.
    Thanks,
    Lony

    Hi,
    unser the /your_ODI_HOME/agent/bin folder.
    Excute this
    sh startscen.sh REFRESH_ID 001 GLOBAL 5 -NAME=agent_ODI
    REFRESH_ID=Your Scenario name
    001:Version
    GLOBAL:Context name
    5=Log Level
    agent_ODI=Your agent name
    Regards

  • How to log BIAR export/import from command line

    Hello
    Can anyone please tell me how to log the actions during the import (or export) of a BIAR file when it is executed from the command line
    OR
    If this type of logging is enabled by default then can anyone tell me where the log files would typically be found
    Best regards and thank you
    Patrick
    C:\Program Files\Business Objects\common\4.0\java\lib>
    java -jar biarengine.jar MyCMSImport.properties

    Hi,
    We can get the log files for the actions that happen during the import / export via Import Wizard.
    Complete these steps to create a log file:
    1. Create the following Windows system variables:
    BO_TRACE_CONFIGDIR = C:\Botrace
    BO_TRACE_CONFIGFILE = C:\Botrace\BO_trace.ini
    BO_TRACE_LOGDIR = C:\Botrace
    2. Copy the BO_trace.ini file to the c:\Botrace folder.
    3. Run the Import Wizard and then view the BO_trace.ini file in the c:\Botrace folder.
    Additional Information
    The following are the default values in the BO_trace.ini file:
    active = true;
    importance = xs;
    size = 1000000;
    keep = true;
    Hope this helps.
    Regards,
    Deepti Bajpai

  • How to start OracleOraDb10g_home1iSQL*Plus service from command line (PC)

    After installing 10G, I now have a service with this name: OracleOraDb10g_home1iSQL*Plus
    I need to be able to start/stop the service from windows 2000 command line,
    BUT "net start OracleOraDb10g_home1iSQL*Plus" DOES NOT WORK.
    Adding quotes around the service name does not solve the problem either.
    Both attempts give "The service name is invalid" errors.
    Can anyone provide a solution?
    THANKS!

    Sorry, but none of the suggestions works. Thanks for trying though.
    1) Renaming the service only changes the display name, and then when you use "net start", it errors with: "The service name is invalid"
    2) call isqlplus start errors with "isqlplus is not recognized as an internal or external command..."
    3) You cannot execute isqlplussvc.exe directly either.
    Any more suggestions?

  • How to send e-mail attatchement from command line

    Hi,
    Is it possible to send an e-mail with some attatchment like a .zip file through command line in iPlanet messaging Server 5.2.
    Please let me know the procedure.,
    Thanks
    Rajeev

    I suggest you try blat.exe from www.blat.net
    I use it regularly to send myself statistics and logfiles from servers without any client. Can be automated in a script.
    Eli

  • How could execute acrobat plug-in in command line?

    I am using acrobat plug-in to develop my own application.
    But I don't want to launch acrobat plug-in feature through acrobat menu item.
    Is it possible to launch acrobat plug-in(.api) with command line or outside acrobat?

    There is no way to do it from the command line, but you can establish
    whatever form of IAC/IPC between your plugin and your external application
    as you wish.  COM - DDE - IPC - named pipes - shared memory - shared files
    - etc....

  • How to export an environment variable from command line ?

    Hello,
    I have build a python application which run some processes(or executable or other python scripts) using subprocess.
    i.e.
    subprocess.call(["xyz.py"], shell=True, stdout=log_file, stderr=log_file)
    Above call throws an error as "xyz.py is not recognized as an internal or external command." I added the location of xyz.py into path variable inside a batch script which I used to run before running the script.
     set PATH=D:\path of xyz:%PATH%
    But As subprocess executes a script into anther child shell, This setting is not available in child shell (or sub-shell) used by python script.
    How can I make this PATH setting available to sub-shell also ?

    Rather than going into much details I have used explicit path by referring only one environment variable of the shell where application is running.
    i.e.  As xyz.py will be in a specific location of my repository, I am setting path of root_dir:
          set root_dir=<path_of_root_dir>
          And then,
          subprocess.call([os.path.join(os.environ['roo_dir'], 'dir', 'xyz.py')], ...)

Maybe you are looking for

  • The following message appears at least 20 times when starting my computer and everytime I open a program. Can anyone help me get rid of it?

    C:PROG~1\IMESHA~1\MediaBar\Datamngr\datamngr.d11 is either not designed to run on windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or software vendor for supp

  • HU creation using HUPP3

    I have following doubt on Planned HU creation using HUPP3 (since i am using this transaction for the first time and not sure if the client has done any modifications) 1. Is it standard to pack more than one sales order line items in one HU using HUPP

  • How do I share iPhoto libraries between two Macs?

    Hi! I would ideally like to have one iPhoto library to share between two different Mac laptops. Is there some way I can set it up so that the same library can be shared, edited, and updated? Or if not, is there a way I can see the other Mac's iPhoto

  • Setting an Item as an audiobook or podcast

    Hi, I Like to use the search bar to limit what's shown in my library. For example I always have it up and have the music tab selected. This way when I want to listen to music podcasts or books won't play(nor do I even have to see them) Is there anywa

  • Sharing data stores between BE6000 UCS Servers

    Hi, I have two UCS C220 M3 servers running Business Edition version 9.1. The servers are in the same data centre and each host a CUCM server, Unity Connection server and Presence Server. This is great as each application has two servers and so there