How to execute the package in odi

hi
i have a 3 interfaces.i have to put it in package and execute this package.but problem is that it is executing in a infinite loop.
so how to execute these 3 interfaces serielly in package.(without in a loop)

If you want to execute your 3 interfaces one by one you just have to define a First Step (Right click "First Step")
And then to link the first interface with the second one with the Green arrow, and the 2nd one with the third with another green arrow...
If after that you link the 3rd with the first it will loop...
So avoid this.
Regards,
Brice

Similar Messages

  • How to execute the packaged procedure(having out param) in TOAD for Oracle

    Hi.
    Could you help me
    How to execute the packaged procedure having out parameters in TOAD for Oralce..
    Thanks..

    Use anonymous PL/SQL block to execute it.
    Example.
    DECLARE
      <out variable name> <out variable data type>;
    BEGIN
      <package name>.<procedure name>(<out variable name>);
    END;

  • How to execute the package generated from Warehousebuilder ??

    Hi,
    I am very new to OWB, i have created the mapping and i want to write a oracle job to run the mapping, Can i explicitly execute the Package generated by passing the parameters required,
    I have actually created like following,
    DECLARE
    p_status VARCHAR2 (200);
    p_deptno NUMBER;
    p_max_no_of_errors VARCHAR2 (200);
    p_commit_frequency VARCHAR2 (200);
    p_operating_mode VARCHAR2 (200);
    p_bulk_size VARCHAR2 (200);
    p_audit_level VARCHAR2 (200);
    p_purge_group VARCHAR2 (200);
    BEGIN
    p_deptno := 10;
    p_max_no_of_errors := NULL;
    p_commit_frequency := NULL;
    p_operating_mode := NULL;
    p_bulk_size := NULL;
    p_audit_level := NULL;
    p_purge_group := NULL;
    map_filter_parameter.main (p_status => p_status,
    p_deptno => p_deptno,
    p_max_no_of_errors => p_max_no_of_errors,
    p_commit_frequency => p_commit_frequency,
    p_operating_mode => p_operating_mode,
    p_bulk_size => p_bulk_size,
    p_audit_level => p_audit_level,
    p_purge_group => p_purge_group
    DBMS_OUTPUT.put_line ('P_STATUS = ' || p_status);
    END;
    I am actually following error,
    Line: ----
    Connecting to the database bl.
    ORA-20013: The workspace has not been set. Please call wb_workspace_management.set_workspace procedure to set workspace first.
    ORA-06512: at "OWBSYS.WB_WORKSPACE_MANAGEMENT", line 1356
    ORA-06512: at "OWBSYS.WB_WORKSPACE_MANAGEMENT", line 1387
    ORA-06512: at "OWBSYS.WB_RTI_UTIL", line 102
    ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1020
    ORA-06512: at "BL.MAP_FILTER_PARAMETER", line 2798
    ORA-06512: at line 19
    Process exited.
    Disconnecting from the database bl.
    I am not able to connect OWBSYS to see whats going on with OWBSYS.WB_WORKSPACE_MANAGEMENT as well.
    Please suggest
    Regards,
    Ashoka BL

    Hi Nawneet,
    I tried like the following and getting the results,I searched in the forum to do this,
    DECLARE
    p_status VARCHAR2 (200);
    p_deptno NUMBER;
    p_max_no_of_errors VARCHAR2 (200);
    p_commit_frequency VARCHAR2 (200);
    p_operating_mode VARCHAR2 (200);
    p_bulk_size VARCHAR2 (200);
    p_audit_level VARCHAR2 (200);
    p_purge_group VARCHAR2 (200);
    BEGIN
    p_deptno := 20;
    p_max_no_of_errors := NULL;
    p_commit_frequency := NULL;
    p_operating_mode := NULL;
    p_bulk_size := NULL;
    p_audit_level := NULL;
    p_purge_group := NULL;
    owbsys.wb_workspace_management.set_workspace('ASHOK_WORKSPACE','ASHOK_BL');
    map_filter_parameter.main (p_status => p_status,
    p_deptno => p_deptno,
    p_max_no_of_errors => p_max_no_of_errors,
    p_commit_frequency => p_commit_frequency,
    p_operating_mode => p_operating_mode,
    p_bulk_size => p_bulk_size,
    p_audit_level => p_audit_level,
    p_purge_group => p_purge_group
    DBMS_OUTPUT.put_line ('P_STATUS = ' || p_status);
    END;
    Do you please let me know what are these,
    'PLSQLMAP','CUSTOMER_MAP' == WorkSpace_Name and User_Name ??
    Regards,
    Ashoka BL
    Edited by: user7348859 on May 26, 2009 5:07 AM

  • How to execute the packaged procedure

    Hello i've written the following package: It's created fine but while running that procedure i'm getting the following error
    create or replace package ttt_example as
      TYPE ColumnsInfo IS RECORD (
          columnName VARCHAR2 (30),
          dataType VARCHAR2 (30)
    TYPE ColumnsInfoList IS TABLE OF ColumnsInfo; 
    FUNCTION getColumns (
          schemaName VARCHAR2,
          tableName VARCHAR2
          RETURN ColumnsInfoList;
    PROCEDURE fillTable (
          schemaName VARCHAR2,
          tableName VARCHAR2
    end;
    create or replace package body ttt_example is
    PROCEDURE fillTable (
          schemaName VARCHAR2,
          tableName VARCHAR2
       ) IS
          i NUMBER;
          columnsList ColumnsInfoList;
          columnsStr VARCHAR2 (4000);
          valList VARCHAR2 (4000) := NULL;
          insertTime VARCHAR2 (100);
       BEGIN
          DBMS_OUTPUT.PUT_LINE ('fillTable - BEGIN');
          columnsList := getColumns (schemaName, tableName);
          i := columnsList.FIRST;
          IF i IS NOT NULL THEN
             columnsStr := columnsList (i).columnName;
             i := columnsList.NEXT (i);
          END IF;
          WHILE i IS NOT NULL LOOP
             columnsStr := columnsStr || ', ' || columnsList (i).columnName;
             i := columnsList.NEXT (i);
          END LOOP;
          i := columnsList.FIRST;
          WHILE i IS NOT NULL LOOP
             IF i != columnsList.LAST THEN
                IF columnsList (i).dataType = 'NUMBER' THEN
                   valList := valList || i || ', ';
                ELSIF columnsList (i).dataType = 'VARCHAR2' THEN
                   valList := valList || '''' || i || '''' || ', ';
                ELSIF columnsList (i).dataType = 'DATE' THEN
                   --EXECUTE IMMEDIATE 'SELECT TO_CHAR(SYSTIMESTAMP) FROM dual' INTO insertTime;
                   --valList := valList ||''''|| insertTime||''''|| ', ';
                   valList := valList || 'SYSDATE, ';
                ELSE
                   DBMS_OUTPUT.PUT_LINE ('WRONG DATA TYPE ' || columnsList (i).dataType);
                END IF;
             ELSE
                IF columnsList (i).dataType = 'NUMBER' THEN
                   valList := valList || i;
                ELSIF columnsList (i).dataType = 'VARCHAR2' THEN
                   valList := valList || '''' || i || '''';
                ELSIF columnsList (i).dataType = 'DATE' THEN
                   --EXECUTE IMMEDIATE 'SELECT TO_CHAR(SYSTIMESTAMP) FROM dual' INTO insertTime;
                   --valList := valList ||''''|| insertTime||'''';
                   valList := valList || 'SYSDATE';
                ELSE
                   DBMS_OUTPUT.PUT_LINE ('WRONG DATA TYPE ' || columnsList (i).dataType);
                END IF;
             END IF;
             i := columnsList.NEXT (i);
          END LOOP;
          DBMS_OUTPUT.PUT_LINE ('fillTable - MIDDLE');
          EXECUTE IMMEDIATE 'INSERT INTO ' || tableName || '(' || columnsStr || ') VALUES (' || valList || ')';
          DBMS_OUTPUT.PUT_LINE ('fillTable - END');
       END;
    FUNCTION getColumns (
          schemaName VARCHAR2,
          tableName VARCHAR2
          RETURN ColumnsInfoList IS
          columnsList ColumnsInfoList;
       BEGIN
          DBMS_OUTPUT.PUT_LINE ('getColumns - BEGIN');
          EXECUTE IMMEDIATE 'SELECT COLUMN_NAME, DATA_TYPE FROM ALL_TAB_COLUMNS WHERE OWNER = ''' || schemaName || ''' AND TABLE_NAME = ''' || tableName || ''''
          BULK COLLECT INTO columnsList;
          DBMS_OUTPUT.PUT_LINE ('getColumns - END');
          RETURN columnsList;
       EXCEPTION
          WHEN OTHERS THEN
                      RAISE;
       END;
    end;
    /  While executing that package procedure
    SQL> begin
      2  ttt_example.fillTable('TEST','EMPE');
      3  end;
      4  /
    begin
    ERROR at line 1:
    ORA-00928: missing SELECT keyword
    ORA-06512: at "ttt.TTT_EXAMPLE", line 60
    ORA-06512: at line 2help me in this

    I was able to reproduce with NULL for columnstr;
    create table t (c1 varchar2(20), c2 varchar2(20));
    Table created
    create or replace procedure p
      tablename  varchar2,
      columnsstr varchar2,
      vallist    varchar2
    ) is
    begin
      execute immediate 'INSERT INTO ' || tablename || '(' || columnsstr ||
                        ') VALUES (' || vallist || ')';
    end;
    Procedure created
    exec p('t', 'c1,c2', '''a'',''b''');
    PL/SQL procedure successfully completed
    select * from t;
    C1                   C2
    a                    b
    exec p('t', '', '''a'',''b''');
    begin p('t', '', '''a'',''b'''); end;
    ORA-00928: missing SELECT keyword
    ORA-06512: at "MSCALLION.P", line 8
    ORA-06512: at line 2

  • Error with Project Parameters when executing the package with dtexec command

    Hi,
    We have started migrating our SSIS package from 2005 version to SSIS 2012. In SSIS 2005 we were using XML configuration files and executing the packages with dtexec command from the packages folder (without deploying packages to filesystem).
    Now in SSIS 2012, we have seen Project Parameters and created couple of package parameters and used those parameters in the package. when executing this package from solution explorer it was working fine but when i try to execute the same package from command
    line with Dtexec command, it was showing an error message of 'Not able to map Project Prameters to configurations'.
    Could you please give me an idea of how to execute the packages from command line by using dtexex command. basically i would like use project parameters in 2012 similar to configurations?
    Thanks,
    Venu.

    Refer
    http://msdn.microsoft.com/en-IN/library/hh231187.aspx
    you can pass parameter like this
    /SET \Package.Variables[$Package::ParameterName];<value> /SET \Package.Variables[$Project::ParameterName];<value>
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to Execute SSIS package through MySQL Procedure

    Hi Everyone,
    How to Execute SSIS package from MySQL Stored Procedure.
    Please share your suggestions on this.
    Regards,
    Vaishu

    I am not sure whether you have SSIS license version installed in the system where MYSQL is there. In order to run SSIS package we need to have DTEXEC executable file and it comes with SSIS license version.
    An SSIS package can be executed from command prompt as,
    C:\>dtexec /f E:\package.dtsx
    I am not expert in MYSQL however in TSQL we can run dos command or scripting language such as vbscript.
    Similarly you need to check in MYSQL. This is MSSQL Server forum.
    Refer
    http://www.ehow.com/how_8789576_call-ssis-package-vbscript.html
    http://www.mssqltips.com/sqlservertip/1775/different-ways-to-execute-a-sql-server-ssis-package/
    Regards, RSingh

  • How to change the package name for a msg class

    Can anybody tell me how to change the package name for a message class.
    and how will it effect in the rerport?
    thanks in advance
    kp

    >>and how will it effect in the report?
    You wouldn't see any direct effect on the Report.. But if you transport the report to QA & leave the Message class in Dev, it might result in syntax issues & you will not be able to execute the report. Just ensure that both of them get transported to QA & you will be fine.
    ~Suresh

  • How to run the package programs in eclipse ?

    hi all,
    how to run the package programs in eclipse ?
    plz clarify...
    regards
    balakrishna.m

    package source code is
    package package1;
    public class ClassaA
              public void displayA()
                   System.out.println("class A");
         }java source code is import package1.ClassA;
         class Packagetest1
              public static void main(String args[])
                   ClassA objectA = new ClassA();
                   objectA.displayA();
         }if i write the notepad means its executing successfully..
    but in eclips is not working..
    plz help me..

  • How to View the Scheduler in ODI Console

    Hi
    In ODI Studio, we may Schedule a Scenario and also, we may view all Schedules process from the Agents (View Schedule option).
    My colleagues are going to use ODI Console, but we cannot find out HOW to View the Schedule in ODI Console.
    In Oracle documentation about FDMEE, we can read the following: If you want to cancel a specific instance of a schedule, use the ODI Studio or ODI Console... see the PDF document in attachment.
    Regards
    Claude

    To display the schedule for one agent:
    In Topology Navigator expand the Agents node in the Physical Architecture accordion.
    Select the Physical Agent you want to update the schedule.
    Right-click and select View Schedule.
    The Schedule Editor appears, displaying the schedule for this agent.
    Check: http://docs.oracle.com/cd/E17904_01/integrate.1111/e12643/running_executions.htm#ODIDG634
    HTH -
    Jasmine

  • Workflow Questions - How to execute the steps in a workflow automatically?

    I am using MDM 5.5 SP6.
    My Question is how to execute the steps in the workflow automatically. That means NO user interaction.
    I have a simple workflow, Start- Process -- Syndicate -  Stop.
    When a new record added /updated/inserted this workflow will start automatically.  The workflow inbox, the workflow status is u2018Receivedu2019 Step is u2018Processu2019.  Now I have to right click on the record then u2018Next Stepu2019 then click on u2018Syndicateu2019 then workflow completes automatically.
    How to execute the Syndication step automatically?.  I donu2019t want to have any user interaction to syndicate these records.
    Is this possible?
    The reason for this is I want to do some field validation and based on the field validation some assignments then then I want  to syndicate these records without user interaction..

    Hi,
    If you want to do some validations and then based on result assignments on some of the fields before syndicating, then you have to use workflow. Only syndication server will not fulfill this requirement.
    you may try by making validation's automatic property as "Error". This way it will not allow to add any record not fulfilling validation. You can also try using calculated fields instead of assignment.
    I am not sure if you can make your workflow fully automatic, because atleast one process step is must for any workflow, and process step means user action.
    Regards,
    Shiv

  • How to execute the data in the form when the data is already avaliable

    Hi,
    I am working with forms 6i. I have a problem while executing the data in the form
    Actually, the data is already present in the form. But when i run the form, the data is not displayed.
    can anyone please help me how to execute the data. below is the code
    Set_Alert_Property(alert_id,ALERT_MESSAGE_TEXT,'Do you want to refresh new Data for that Year and Field ? (it will take a time).') ;
                   SET_ALERT_BUTTON_PROPERTY(alert_id, ALERT_BUTTON1, LABEL, 'Yes');
                   SET_ALERT_BUTTON_PROPERTY(alert_id, ALERT_BUTTON2, LABEL, 'No');
                   SET_ALERT_BUTTON_PROPERTY(alert_id, ALERT_BUTTON3, LABEL, 'Cancel');
                   button_number :=Show_Alert(alert_id) ;
                   synchronize;
                   if button_number != ALERT_BUTTON3 then
                        if button_number = ALERT_BUTTON1 then
                             :param.field := :control.f_cd;
                             :param.year := :control.year;
                             build_tables;
                             fields;
    -- areas(:param.field);
                             PUT_PARAM;
                             COMMIT_FORM;
                        go_block('wet_criterias');
                        end if;
                        if button_number = ALERT_BUTTON2 then
                             :exhibits.field_display := :control.f_name || ' - Exhibits';
                             go_block('RESERVOIR');
                             execute_query;
                        end if;
                   end if;
              end if;
    else
         message('Fields must be entered...');
    end if;
    else
    message('Fields must be entered...');
    end if;

    It's hard to know what logic you are trying to implement.
    However, by looking at your code, it seems that if the user select 'Yes' to the question "Do you want to refresh", nothing is done except the go_block('wet_criterias'). Should there be an 'Execute_Query' ?
    No idea...

  • How to create the package.

    Hi ,
    How to create the package.
    Thanks

    Hi Mahaboob,
    Goto SE80 Transaction
    Select Package and below give the package name and click on enter.
    then u get a pop up asking to create package. Click yes. then u get a pop up  Package Builder: Create package
    Give the description and the Application component and click on create.
    Best regards,
    raam

  • How to execute the parametered stored procedure in sql *plus ?

    how to execute the parametered stored procedure in sql *plus ?
    my storedprocedure format
    CREATE OR REPLACE PROCEDURE SMS_SELECTMPLOYEE
    (empDOB out date, empEmpName out varchar2)
    thanks & regards
    mk_mur

    Oh, sorry... making many reading-too-fast mistakes today...
    You can't declare date variables in SQL*Plus (seel help var), but you can cast to varchar2:
    TEST> CREATE OR REPLACE PROCEDURE SMS_SELECTMPLOYEE (empDOB out date, empEmpName out varchar2) IS
      2  d date := sysdate;
      3  e varchar2(10) := 'bob';
      4  begin
      5  empdob := d;
      6  empempname := e;
      7  end;
      8  /
    Procedure created.
    TEST> var d varchar2(30)
    TEST> var n varchar2(30)
    TEST> call  SMS_SELECTMPLOYEE(:d,:n);
    Call completed.
    TEST> print d n
    D
    11/07/06
    N
    bobYoann.

  • How to execute the content of varchar  variable like a simple query

    Hi everyone!
    I did a PL/SQL region in apex, in this region I did the query which is storaged in a variable; it was did it concatenate several times,
    in the procedure I have several sentences.
    I thought that the command 'execute immediate' would get a good result but it do not print the result.
    declare
    variable varchar2(1000);
    begin
    --sentences
    --execute inmmediate( variable );
    --return variable
    end;
    I only want to how to execute the content of varchar variable.
    For example, suppose that the result of this procedure is
    'SELECT SYSDATE FROM DUAL'
    How and what do I must do for this query execute like a normal query that is in apex?
    I expect your prompt reply.
    Thank you for your help.
    Best regards

    Let us say your table containing SQL is
    t_sql_table
    and has two columns
    primary_key
    and
    sql_query.
    You would need to do the following:
    1. Create a Report of type "Function returning SQL Query"
    2. Put the following there:
    DECLARE
       v_query   VARCHAR2 (4000);
    BEGIN
       SELECT sql_query
         INTO v_query
         FROM t_sql_table
        WHERE primary_key = 1;
       RETURN v_query;
    END;Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • How to execute the logical database.

    how to execute the logical database.

    There are two ways of using a logical database - either by linking it with the executable program(specify the LDB name in the program attributes) or by using the function module LDB_PROCESS.
    1.Data read by the logical database is passed back to the program using the interface work areas.Use GET statements in the report.
    GET events are implemented internally as FORM routines.
    2.If you call the logical database using the above function module, the selection screen of LDB is not displayed.It uses special subroutines called callback routines, which are called by the function module and filled with the required data.
    Please refer the following link for more details.
    http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm

Maybe you are looking for