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

Similar Messages

  • How to test ODI Agent - using command line / scripts ?

    We can test ODI scheduler Agent from Topology manager, is there a way to test it using command line options / scripts ?

    Go to <ODI_HOME>/oracledi/bin in command prompt and invoke startscen command with teh below parameters.
    Edited by: Guru Sankar on Feb 28, 2011 4:19 PM

  • How to purge data cache table using command line

    Hi:
    Is there a way to purge the data cache table using command line?
    thanks!

    Thanks, Mike.
    I'm thinking about the ldconsole provided with ALDSP.
    The ldconsole has a link for purging the cache. Is there anything I can leverage from there? Is it a JMX component that I can call?

  • How to create user in workspace using command line with Internal APEX

    Hi fellows,
    I'm newbie with APEX and my i try doing something different. I need to build one application in Internal for create users in another workspaces. So, for do this, need use command line and PL/SQL code.
    I know exists a CREATE_USER procedure. But, this procedure just create a user in Internal, not in workspace, like i want.
    Its possible? Someone can help me?
    Example of create_user procedure:
    BEGIN
      APEX_UTIL.CREATE_USER(
         p_user_name => 'NEWUSER2',
         p_first_name => 'FRANK',
         p_last_name => 'SMITH',
         p_description => 'Description...',
         p_email_address => '[email protected]',
         p_web_password => 'password',
         p_developer_privs => 'ADMIN:CREATE:DATA_LOADER:EDIT:HELP:MONITOR:SQL',
         p_default_schema => 'MY_SCHEMA',
         p_allow_access_to_schemas => 'MY_SCHEMA2',
         p_change_password_on_first_use => 'N',
         p_attribute_01 => '123 456 7890');
    END;
    Thank you.

    Did you try it like this?
    DECLARE
       l_workspace_id      number;
    BEGIN
        l_workspace_id := apex_util.find_security_group_id (p_workspace => 'MY_WORKSPACE_NAME');
        apex_util.set_security_group_id (p_security_group_id => l_workspace_id);
      APEX_UTIL.CREATE_USER(
         p_user_name => 'NEWUSER2',
         p_first_name => 'FRANK',
         p_last_name => 'SMITH',
         p_description => 'Description...',
         p_email_address => '[email protected]',
         p_web_password => 'password',
         p_developer_privs => 'ADMIN:CREATE:DATA_LOADER:EDIT:HELP:MONITOR:SQL',
         p_default_schema => 'MY_SCHEMA',
         p_allow_access_to_schemas => 'MY_SCHEMA2',
         p_change_password_on_first_use => 'N',
         p_attribute_01 => '123 456 7890');
    END;

  • 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.

  • How can I load PCL font using command line?

    We have a software that requires a signature font to be uploaded to the printer beforehand.  if the printer power cycles, the font is lost and paper is wasted.  This usually happens when a brown out occurs overnight.
    Our font vendor has a command line windows software that can upload the font to the printer.  It costs 100.00. 
    I'd really love to find a way to upload this file using linux.  The page is generated on linux so i could incorporate the command into that process.
    Anyone know of free software to do this on linux or windows?  or maybe programming documentation?

    i think i found the answer on another site
    http://mdn.morovia.com/kb/Download-Select-Remove-PCL-Fonts-10002.html
    Configuration 2: Network Printer Server
    When the printer is connected to a TCP/IP network directly, the best method is to send commands through lpr command. A TCP/IP device may be identified with a full qualified DNS name, or an IP address. In our test lab, we assigned our network printer a fixed IP address 192.168.1.22, and we use this address in the examples below. Inlpr manual page, it is also referred as Printer Name.
    Another name you will need is Queue Name. The queue names are names assigned to the “processors” in the print server. Many print servers and network printers hardcode their queue names. Some allow you to define your own queue. On HP JetDirect printer servers, the raw PCL queues are named as raw, raw1, raw2 and raw3. In this article we use rawas the queue name.
    Note thatlpr command only accepts 1 file at a time. However, the step1 and step2 commands must be sent in one stream, otherwise the printer discards them altogether. As a result, you will need to merge those three files into one first. On Windows, you can use copy command:
    copy /b C80D.txt +mrvcode39_4pitch.sfp +c5F.txt total.bin
    On Linux/Unix platforms, use cat command:
    cat c80D.txt mrvcode39_4pitch.sfp c5F.txt > total.bin
    Now we can send these files (Windows):
    lpr -S 192.168.1.22 -P raw -ol total.bin lpr -S 192.168.1.22 -P raw -ol data.txt
    You need to replace the IP address, the queue name and the file name with the appropriate ones in your environment.
    On Linux/UNIX platforms, things are more complicated. The configuration varies from platform to platform. Generally you need to set up the printer first. On RedHat Linux, this can be done using printtool. You assign a printer name (queue name) in the configuration, and you use this name in lpr command. Assume that the name is HPPrinter, the lpr command on RH Linux becomes:
    lpr -P HPPrinter -o raw total.bin lpr -P HPPrinter -o raw data.txt

  • How to register a DIP profile using command line

    Hi All,
    Am trying to register a profile in OID11.1.1.5 as shown below, but i face the below error message.
    I have set the JAVA_HOME, PATH, ORACLE_HOME, WL_HOME as suggested in document.
    Any pointers would be helpful
    [orasso@company bin]$ ./manageSyncProfiles -h cdceasso1.company.com -p 7005 -D weblogic -ENABLE
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: oracle/ldap/odip/wlst/ManageSyncProfiles
    Caused by: java.lang.ClassNotFoundException: oracle.ldap.odip.wlst.ManageSyncProfiles
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
    Could not find the main class: oracle.ldap.odip.wlst.ManageSyncProfiles. Program will exit.
    [orasso@company bin]$

    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

  • How to run ODI scenario using command prompt

    Hi expets
    Please let me know if we can run ODI scenario using command prompt or any way other than operator.
    Regards
    Janakiram

    Go to <ODI_HOME>/oracledi/bin in command prompt and invoke startscen command with teh below parameters.
    Edited by: Guru Sankar on Feb 28, 2011 4:19 PM

  • How to Create Test Sequence Document in HTML using command line

    How to Create Test Sequence Document  in HTML using command line
    I have lot of sequences and I want to create Test Sequence Documentation in HTML format using Command Line automatically, is there a way to automate this task using .bat file or using   C#  .Net

    If you aren't able to figure out how to call a C++ DLL in .net then there may be another option.  Unfortunately I don't know how to do this off the top of my head and I don't have an example.
    The other option would be to change docgen.seq a little bit to the dialog doesn't display and you just hardcode the options.  Then you can use a command line to call testexec.exe: http://zone.ni.com/reference/en-XX/help/370052K-01/tsfundamentals/infotopics/startup_opt/
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • How to call a schema name using substitution name?

    Hi All,
    How to call a schema name using substitution menthod in odi?
    I was trying but I got the following error..
    ODI-1227: Task XXX(Procedure) fails on the source ORACLE connection YYY.
    Caused By: java.sql.SQLException: Missing IN or OUT parameter at index:: 1
    Here xxx procedurename.
    yyy-schemaname
    Please do the needful..
    Thanking you in Advance.
    Regards,
    PP

      1  declare
      2  sql_string varchar2(2000);
      3  begin
      4  sql_string := 'select ' || func_name || ' into a from dual ';
      5  execute immediate sql_string;
      6* end;
    SQL> /
    sql_string := 'select ' || func_name || ' into a from dual ';
    ERROR at line 4:
    ORA-06550: line 4, column 28:
    PLS-00201: identifier 'FUNC_NAME' must be declared
    ORA-06550: line 4, column 1:
    PL/SQL: Statement ignored
      1  declare
      2  sql_string varchar2(2000);
      3  func_name varchar2(30);
      4  begin
      5  func_name := 'some_func';
      6  sql_string := 'select ' || func_name || ' into a from dual ';
      7  execute immediate sql_string;
      8* end;
    SQL> /
    declare
    ERROR at line 1:
    ORA-00904: "SOME_FUNC": invalid identifier
    ORA-06512: at line 7
    SQL> desc some_func;
    ERROR:
    ORA-04043: object some_func does not exist
      1  create or replace function test_func
      2       return number
      3       is
      4       begin
      5          return 0;
      6*      end;
    SQL> /
    Function created.
      1  declare
      2  sql_string varchar2(2000);
      3  func_name varchar2(30);
      4  begin
      5  func_name := 'test_func';
      6  sql_string := 'select ' || func_name || ' into a from dual ';
      7  execute immediate sql_string;
      8* end;
    SQL> /
    declare
    ERROR at line 1:
    ORA-00905: missing keyword
    ORA-06512: at line 7
    SQL> Set serveroutput on
      1   declare
      2   sql_string varchar2(2000);
      3   func_name varchar2(30);
      4   return_value number;
      5   begin
      6   func_name := 'test_func';
      7   sql_string := 'select ' || func_name || ' from dual ';
      8   execute immediate sql_string into return_value;
      9   dbms_output.put_line(return_value);
    10* end;
    SQL> /
    0
    PL/SQL procedure successfully completed.Hope that helps.
    Regards
    Raj

  • Creating Job definition using Command line.

    Hi all,
    is there a possibility to create a job through command line, with parameter as CMD and source as any batch file and scheduling it on the fly.
    Let me know...
    Always
    sai.

    yes, you can use ldapmodify to add objectclasses. You should modify cn=schema and follow the objectclasses and attributes syntax. You can check config/schema directory in any dsee instance for examples.
    Other way is adding objectclasses editing directly 99user.ldif schema file whereas dsee is down.

  • How to schedule the background job using current selection screen field val

    Hello Friends,
    How to schedule the background job using current selection screen field values.
    after completion of the job the spool should be sent as a mail to SAP Inbox.
    Is there any way to create the variant dynamically by reading the current selection screen values.
    Thanks,
    Ravi

    Hi,
    To get the variant details you can use teh following FM.
    'RS_VARIANT_CONTENTS'.
    Regards,
    Ankur Parab

  • How to call smartform FM after using SSF_FUNCTION_MODULE_NAME?

    Hi Experts,
    How to call smartform FM after using SSF_FUNCTION_MODULE_NAME?
    I mean, in driver program i called SSF_FUNCTION_MODULE_NAME to get the related FM  for my smart form. after that How do I call it(smartform fm) . I tried to call by pressing PATTERN button in Report. but it is showing FM is not exist error.
    Call function SSF_FUNCTION_MODULE_NAME
    Export
    formname = 'zsmartform'
    import
    fm_name = function_name.
    function_name is stored the corresponding smartform fm. then How do i call it to process my smartform?
    thanks in advance.

    hi,
    Chk this sample.
    DATA: p_output_options TYPE ssfcompop, "occurs 0 with header line
    p_control_parameters TYPE ssfctrlop. "occurs 0 with header line
    p_output_options-TDCOPIES = 3. "number of copies.
    p_output_options-tddest = 'LP01'. "def
    p_control_parameters-no_dialog = 'X'. "no dilog box
    p_control_parameters-preview = 'X'. "no preview
    DATA : v_form_name TYPE rs38l_fnam.
    *---- Function to get the function module name of the    ----
    *---- specified Smart form.                              ----
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = 'GIVE YOUR SMART FORM NAME'   
    * VARIANT = ' '
    * DIRECT_CALL = ' '
    IMPORTING
    fm_name = v_form_name
    EXCEPTIONS
    no_form = 1
    no_function_module = 2
    OTHERS = 3 .
    *---- Function Module to call the Smart Form          ----
    *step 1 - go to ur smart form
    *step2 - take environment
    *step3-take function module name
    *copy that unique number.
    *step4 -come back to ur driver program.
    *step5 - place ur cursur here. take patter,.give that unique number.
    *at that time u will get the below code.
    *step6 - rename that unique number with 'v_form_name' in the code generated by pattern.
    CALL FUNCTION v_form_name
    EXPORTING
    * ARCHIVE_INDEX =
    * ARCHIVE_PARAMETERS =
    control_parameters = p_control_parameters
    * MAIL_APPL_OBJ =
    * MAIL_RECIPIENT =
    * MAIL_SENDER =
    output_options = p_output_options
    user_settings = ' '
    * ARCHIVE_INDEX_TAB =
    * IMPORTING
    * DOCUMENT_OUTPUT_INFO =
    * JOB_OUTPUT_INFO =
    * JOB_OUTPUT_OPTIONS =
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    for any clarifiaction pls revert.
    regards,
    Reshma

  • How to duplicate a target and add resources in xcode using command line?

    I am trying to use command line tools to create, add resources, build, archive and export to ipa in xcode. I could do the Build, Archive and Exporting to IPA through the command line tools(xcodebuild). But I also wanted to duplicate the target in the same project,add a new Info.plist to the duplicated target resource through command line itself. How to do it? I could not find any valuable answers by Googling. I could not find any proper documentation also in Apple Sites.
    Is there any tools that can be used to perform these? I don't want to use the UI. Please, help me out.

    The Mac App Store is not appropriate for command line tools. You can use any language you want.

  • How to call a stored procedure using its package name in Oracle

    hi
    we're doing a JDBC scenario where we call a stored procedure(a.prc) using its package name(b)The stored procedure has In /Out/IN-OUT parameter.
    i have got 2 queries:
    1- How to call the stored procedure using it's package.
    2- How to capture the In/Out parameter in the response.

    hi Prateek
    thanks for the reply.
    However when i tried mapping it to Package.procedure, communication channel throws the error saying that Package.proceudre needs to be declared.
    As i said , the procedure has IN-OUT parameter too.In oracle we need to write a block if we want to read the IN-OUT parameter.
    How to get the IN-OUT parameter in XI?

Maybe you are looking for

  • Copy a file from URL to local HDD

    Hi, I've got 2 problems: 1. I'm an absolute beginner and an german-speaking user of this forum 2. I want to copy a file from within a signed applet (with full access permissions) from a URL on the server to a local directory on the client. It works w

  • Installer says it is corrupt.

    First a little backgorund. My macbook is currently running 10.7.3. I have had numerous failed attempts to update to 10.7.4. Everytime I try and run the updater or installer it says the download is corrupt and to try downloading it again. I've tried u

  • Strange issue in SharePoint sites & Farm

    Hello All SharePoint known for its unexpected & unique issues, has put me in a new situation: 1. Two sharePoint servers, one app & wfe, while trying to open any site it gives, <nativehr> error 2. I tried running configuration wizard and it fails on '

  • How to create a slideshow on one computer and edit on another?

    I have created a slideshow on my home computer but need to be able to edit it on my work computer. I have all of the photos on both computers, but I don't see how to transfer the slideshow. It is an extensive show with a lot of editing that has alrea

  • Unpivot in ODI

    Hi all, I am new to ODI.how do i use unpivot in ODI? My Source Table is in below format Proaduct Jan Feb Mar 1 2 3 4 I need to transfer this data in below format Product Month Value 1 Jan 2 1 Feb 3 1 Mar 4 Please help me. Rama