Want to run OWB mappings thru Autosys Job Schedule

How can I execute OWB mapping (pl/sql code) thru the Autosys Job scheduler? Can you please provide some examples.
Thanks, in advance
Carol-Ann

Pawan
Process Flows in OWB get deployed to Oracle Workflow only. That is, Oracle Workflow Server is requried to run Process Flows.
Process Flows can be run from sqlplus using the run_my_owb_stuff procedure, and Mappings can be run as written.
A Process Flow is required if you have multiple Mappings that require to be strung together, and also if you require the management framework that comes along with Oracle Workflow.
If the Mapping is self contained, then it can be scheduled standalone also. I personally prefer to have it done through process flows always.
This is how my anonymous block looks like:
declare n number; begin n := my_owb_run_pf('runtime_user','prcFlowModuleLocation','PROCESS','processName); end;
- Jojo
Message was edited by:
user467494
Message was edited by:
user467494

Similar Messages

  • Want to run owb mappings thru job schedule

    hi all,
    need some help here. hope u guys can give me an idea. all this while i've been executing my owb mappings thru the deployment manager. instead of doing so, can i execute the mappings thru scheduling?? if yes, how can i do it??
    i've tried using the OMS. From there i can create some jobs, but it's not taking from the mappings. i'm still trying. hope to get some good tips on how to do it. thanks in advance.

    Hmm, trying to execute it from the 10g web OEM, I ran into a problem - it returns the following:
    ORA-27370: job slave failed to launch a job of type EXECUTABLE ORA-27300: OS system dependent operation:accessing execution agent failed with status: 2 ORA-27301: OS failure message: The system cannot find the file specified. ORA-27302: failure occurred at: sjsec 6 ORA-27303: additional information: The system cannot find the file specified.
    I'm wondering, since I have logged in locally on the server, and the file really do exist...
    You have a clue?
    Yours
    Kim

  • How to run OWB mappings from SQL*Plus

    Hi:
    I used to run OWB mappings using the sample code RUN_MY_OWB_STUFF in a customized PL/SQL procedure. This works for OWB 10g release 1 but not for OWB Paris (10g Release 2) because the execution always returns FAILURE.
    Is there something new in OWB Paris that RUN_MY_OWB_STUFF doesn't work anymore?
    Thanks,
    Hazbleydi C. Verástegui

    Hi Maruthi:
    I already check the input parameters of the mapping. I'm setting them as a custom parameters. This is the output of the execution:
    16:01:11 SQL> EXEC PR_RUN_OWBMAPPING_TABLA2('MPG_EMPLEADOS_NOMINA_PERIODO',2007,01);
    Stage 1: Decoding Parameters
    | location_name=LOC_DM_STAGING
    | task_type=PLSQL
    | task_name=MPG_EMPLEADOS_NOMINA_PERIODO
    Stage 2: Opening Task
    | l_audit_execution_id=39635
    Stage 3: Overriding Parameters
    | P_ANO%CUSTOM='2007'
    | P_MES%CUSTOM='1'
    Stage 4: Executing Task
    | l_audit_result=3 (FAILURE)
    Stage 5: Closing Task
    Stage 6: Processing Result
    | exit=3
    By the way, RUN_MY_OWB_STUFF is the same as RUN_OWB_CODE.sql except for the two first parameters (p_result and p_audit_id):
    create or replace procedure run_owb_code
    ( p_result out number
    , p_audit_id out number
    , p_repos_owner in varchar2 default null
    , p_location_name in varchar2 default null
    , p_task_type in varchar2 default null
    , p_task_name in varchar2 default null
    , p_system_params in varchar2 default '","'
    , p_custom_params in varchar2 default '","'
    , p_oem_friendly in number default 0
    is
    CREATE OR REPLACE function run_my_owb_stuff
    ( p_repos_owner in varchar2 default null
    , p_location_name in varchar2 default null
    , p_task_type in varchar2 default null
    , p_task_name in varchar2 default null
    , p_system_params in varchar2 default '","'
    , p_custom_params in varchar2 default '","'
    , p_oem_friendly in number default 0
    ) return number
    is
    How do you invoke your wrapper PL/SQL with these two first parameters?
    Thanks in advance,
    Hazbleydi C. Verástegui

  • Autosys job scheduler on windows environment ,can oracle support?

    Hi,
    Intially i am used dbms_scheduler to schedule pl/sql jobs that's working fine,But according to client standards
    need to schedule pl/sql jobs using autosys to run on windows, Can Oracle 11g support autosys to schedule pl/sql
    jobs run on windows environment(version 5), If so what package oracle package will be used ? How to schedule,
    provide me some documentation please.
    Thanks in Advance
    Ganesh

    Dbms_scheduler is a much much much more mature product than any thid party tool.
    Also, why schedule PL/SQL outside the database (likely exposing passwords) when it can be done inside the database (without exposing password)
    Please ask the client why they want by this 'requirement' to stick to obsolete technology.
    They pay for dbms_scheduler, and they don't need autosys
    (and yes, I consulted autosys documentation for free on your behalf)
    Other than that: your request to provide autosys documentation in an Oracle forum must be judged inappriopriate and points to refusal to do your own research.
    Sybrand Bakker
    Senior Oracle DBA
    Edited by: sybrand_b on 12-jul-2012 15:14

  • Autosys job scheduling on particular instance

    I have to run one procedure which WARMUPs the memory and keep the data in BUFFER POOL as we set the BUFFER_POOL for few tables as KEEP. But I want to make sure my proc runs on both the nodes/instance of my database.
    Can you please suggest if this is possible through autosys jobs or not. And if yes then how?
    I also tried using the dbms_job but that is operating on only one instance and for othe instance it throws the error:
    ERROR at line 1:
    ORA-23421: job number 10855 is not a job in the job queue
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_IJOB", line 599
    ORA-06512: at "SYS.DBMS_JOB", line 261
    ORA-06512: at line 1
    Kindly advice

    user12841217 wrote:
    I have to run one procedure which WARMUPs the memory and keep the data in BUFFER POOL as we set the BUFFER_POOL for few tables as KEEP. But I want to make sure my proc runs on both the nodes/instance of my database.
    Can you please suggest if this is possible through autosys jobs or not. And if yes then how?
    I also tried using the dbms_job but that is operating on only one instance and for othe instance it throws the error:
    ERROR at line 1:
    ORA-23421: job number 10855 is not a job in the job queue
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_IJOB", line 599
    ORA-06512: at "SYS.DBMS_JOB", line 261
    ORA-06512: at line 1
    Kindly adviceI'd highly suggest not bothering. Oracle will retain that which it needs in memory, there shouldn't be a need for you to "warm up" anything.

  • Can not run OWB Mapping automatically by OEM? .  Very urgent. Pls help me

    Hi all,
    Pls help me.
    I am using OWB 10g under Oracle 10g. I want to run OWB Mapping automatically by OEM.
    I installed Oracle Database 10g fully but don't have OEM in this. After that, I installed Oracle Client 10g. In this product, there is OEM 10g. I read some topic as "want to run owb mappings thru job schedule" and also read http://otn.oracle.com/products/warehouse/htdocs/oem_scheduling_viewlet_swf.html
    But my OEM not as same as in this . It don't have job menu and OEM Console Login window and don't have also where I can put username/pwd to login into OMS???
    I don't know this problem.
    Pls help me.

    Hi,
    Here are two possible solutions:
    1) If you have OEM 9i anywhere in your environment you can use this for scheduling the OWB jobs.
    2) If your environment is 10g only you need to install 10g Grid Controll. This product has replaced the OMS / Java console of earlier releases, and contains the same functionality for scheduling jobs.
    Note that if you are using the sql_exec_template to execute your mappings you can schedule and run these from any machine on the network, not just the target server.
    Hope this helps,
    Roald

  • Can not run OWB Mapping automatically by OEM?

    Hi all,
    Pls help me.
    I am using OWB 10g under Oracle 10g. I want to run OWB Mapping automatically by OEM.
    I installed Oracle Database 10g fully but don't have OEM in this. After that, I installed Oracle Client 10g. In this product, there is OEM 10g. I read some topic as "want to run owb mappings thru job schedule" and also read http://otn.oracle.com/products/warehouse/htdocs/oem_scheduling_viewlet_swf.html
    But my OEM not as same as in this . It don't have job menu and OEM Console Login window and don't have also where I can put username/pwd to login into OMS???
    I don't know this problem.
    Pls help me.

    Hi,
    Here are two possible solutions:
    1) If you have OEM 9i anywhere in your environment you can use this for scheduling the OWB jobs.
    2) If your environment is 10g only you need to install 10g Grid Controll. This product has replaced the OMS / Java console of earlier releases, and contains the same functionality for scheduling jobs.
    Note that if you are using the sql_exec_template to execute your mappings you can schedule and run these from any machine on the network, not just the target server.
    Hope this helps,
    Roald

  • Wrapping owb mappings

    Hi all
    We have owb mappings which I want to include in as part of a custom software. We would be delivering the solution to the client. Is it required for client to have owb installed can't they use the packages created by the mapping.
    I want to run these mapping at client site so want to wrap them within a custom software as a whole. what is the best approach? how can I use these mappings at the client site how do I use these.
    Pls post your suggestions

    Hi,
    you can wrap the package bodies with http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28370/wrap.htm.
    You need a repository on the server where you want to run the mappings. Normally you need a owb installation too. Otherwise you must create a clone of the rep using a dump.
    Regards,
    Detlef

  • Running Cmdexec in SQL Server Job

    Hi Everyone,
    I wanted to run a scripts in a job to clean up my folders in SQL Server 2005. The scripts is as below:
    for /f %%i in ('dir /b /s /AD F:\ASCC_FileStore\CITIntegration') do cscript D:\Scripts\BizTalk\BizTalk_WMI.vbs -maintainfolder "%%i"
    No error was happening when it was executed in a batch file.
    but when I ran it in a SQL job, I got below error:
    %%i was unexpected at this time.
    Could you please give me some advice? Thank you very much.
    regards,
    Oliver

    Hi Oliver_Wang,
    According to your description, if you want to delete files with a SQL Agent job in SQL Server, you can also use xp_cmdshell
     command. Here is a full SQL query that is used for deleting the files.
    ----------------------------------- Enabling the COMMAND SHELL ------------------------------
    --Script to enable the XP_CMDSHELL
    -- To allow advanced options to be changed.
    EXEC sp_configure 'show advanced options', 1
    GO
    -- To update the currently configured value for advanced options.
    RECONFIGURE
    GO
    -- To enable the feature.
    EXEC sp_configure 'xp_cmdshell', 1
    GO
    -- To update the currently configured value for this feature.
    RECONFIGURE
    GO
    ----------------------------------- Deleting the files in ------------------------------------
    -- Suppose we need to delete all .txt files under the path (such as "D:\temp\Testing\")
    xp_cmdshell 'DEL D:\temp\Testing\*.txt'
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Job scheduling for different slection criteria

    Hi,
    I have a selection screen where user can select eg. say operation 700 or 800 (radiobuttons).
    Now user want to schedule the report as background job.
    Is that I need to create two jobs with two variants ( i.e for two operations 700 & 800)? So that user executes job with respective variant for the operation.
    Pl. clarify whether above steps are of right approach. Also any alternative ways to achieve the same.
    Thanks.
    From
    Reddy

    Hi,
    If user wants to run it as a background job as & when required( The program doesnt have any specific schedule for background execution), then use FM JOB_OPEN, JOB_SUBMIT, JOB_CLOSE to schedule it as a background job.
    If its a periodic job then you will have to create 2 variants & create 2 jobs in SM36.
    Best regards,
    Prashant

  • Looking for a third party 'job system/job scheduler'

    Hello,
    We have tried using OEM Job and now want to also look at third party Job Scheduling applications. Please advice of such other products. Was thinking of AppWorks. Thank you.

    AppWorx, now UC4, is one possibility but there is little, if anything, they can do that can not be done through the proper use of the DBMS_SCHEDULER package.
    I would suggest that, before you spend or waste money, you look at the docs on DBMS_SCHEDULER and determine that there is something you need that you have not already purchased. Using OEM to schedule jobs is far from giving you access to the full functionality.

  • Job Schedule Custom ABAP Class Every 2 weeks

    Hi Folks,
    I would like to ask if  possible to run custom ABAP class using JOB Schedule (SM36). I have created a custom class that needs to be run every two weeks.
    Thanks,
    Robert

    Hi,
    what do you mean by "run custom class"? If you mean calling methods of that class then no. But it is easy to write a simple report which will call required methods.
    Cheers

  • How to run the mappings in owb?

    Hi,
    I am new to owb pls say that how to run the already created mappings in owb.My dba have loaded the data in the oracle i neeed to uppend the data in to owb.pls help me.
    Thanks,
    raju
    Edited by: 814740 on Nov 23, 2010 12:49 AM

    You need to make sure that OWB control center service is running . You can check this by show_service.sql (OWB_HOMW\owb\rtp\sql)
    Then logon to OWB designer --- > goto control center ----> select the mapping you want to run .
    Verify that it is deployed successfully . If yes the click on start , your mapping execution will start .
    See the result .
    Thanks,
    Sutirtha

  • Wanted to run a background job in diff app server

    i wanted to run a job in diff app server...
    how can i do it.
    sap guru

    In the JOB_CLOSE funtion module,
    you have a parameter for that.. check it..

  • How do I schedule an autosys job to run monthly?

    Please what command do I use to schedule an autosys job to run monthly? And how do I use this command?

    $ man crontab
    $ man anacron
    Pretty much your choice. Anacron requires root access.

Maybe you are looking for

  • Multiple select parameter with each selected value covering multiple sub values

    Hello, everyone, In my SSRS report, I need to set a multiple select parameter called Group, with values: group1 group2, etc.... When group1 is selected, it needs to apply to data of certain sub groups: sub-group1, sub-group2; When group2 is selected,

  • Vendor debit balance - S_ALR_87012082 vs. fbl1n

    I'm new to the portal, so first of all would like to say "Hello" to Everybody. And, of course, comming here with SAP puzzle to be resolved - I hope you will be able to give me some piece of advise. The thing is that while pulling out vendor debit bal

  • Help with setting up a new user account

    What is the solution to file sharing on the same computer with two separate User Accounts? I want to set up a new user account, but I want to be able to access the Documents, Music, Movies and Pictures folders, as well as others possibly in the origi

  • Strange problem using BBM service on WiFi

    Hello everyone, I have a strange problem. I have a Fido phone unlocked by Fido and I am trying using it on another sim card. I am able to connect to the internet and BBM services with Data plan everything fine. I can call everything works fine.  When

  • How to call used WD Comp attributes

    Hi experts, please help me. dc1: view 1; user submits the data dc2: view 2 here  i have to call the data submitted by the user in dc1,view1. i have made the required attributes of dc1  available in interface controller. and added the same interface c