Oracle Demantra Workflow Job Monitoring

Hi Oracle,
An issue with work flows in long running status. Error ed workflow in demantra schema. This need to be monitored.
In Demantra schema, WF_PROCESS_LOG table stores Demantra workflows.
I need to design
Workflow monitoring alert, either through Demantra Alert Manager Or SCP Alert Manager responsibility Or Cron job. . Please guide me in this enhancement of this feature.
My current env..
Demantra - 7.3.2
ASCP -- 12.1.3

We had developed custom code which from within our EBS environment allows us to submit Demantra Workflows.
Once there, the code keeps on looping through the following check to see if the specific workflow has been completed:
SELECT COUNT(*)
INTO cnt
FROM wf_process_log
WHERE schema_id = v_schema_id
AND status = 1
AND process_id = buff;
where: v_schema_id = identified of the particular workflow submitted & buff = unique process ID to watch (as there could hypothetically be multiple processing running, not likely here, but in theory they could)...this info can be obtained from:
SELECT schema_id
INTO v_schema_id
FROM wf_schemas
WHERE schema_name = v_schema;
where: v_schema = name of the workflow being submited

Similar Messages

  • Unified Job Monitoring -Share your experiences with SAP Solution Manager 7.1

    Dear Forum members,
    I woudl like to introduce myself as Raghav, S. I am in the development team responsible for building the unified job monitoring workcenter starting 7.1 SP10 (onwards).
    Please post your feedback, current status wrt to setup, commmon issues in this area.
    I will be more than glad to help you here.
    Regards, Raghav
    Development Manager
    CLM - Solution manager team, Labs India.

    Hello Raghev,
    we implemented unfied job monitoring on a larger scale by now, starting out with the monitoring of SAP Standard & Reorg Jobs.
    Everything seemed quiet OK at the beginning, but over time display performance of the Monitoring UI decreased drastically (exceeding 5 Min. "per click" in the UI).
    I pinned this down to the following (Oracle) SQL access:
      SELECT
      "CLIENT", "CONTEXT_ID", "TYPE_ID", "HASH_METRIC_PATH", "START_TIMESTAMP", "IS_CURRENT", "END_TIMESTAMP",
      "METRIC_PATH", "RATING_AGGREGATE", "VALUE_MIN", "VALUE_MAX", "VALUE_SUM", "VALUE_COUNT", "VALUE_LAST",
      "VALUE_DATA_TYPE", "VALUE_MAX_TIME", "LAST_TEXT"
    FROM
      "MES_DB_AGGREGATE"
    WHERE
      "CLIENT"=:A0 AND "CONTEXT_ID"=:A1 AND "TYPE_ID"=:A2 AND "IS_CURRENT"=:A3 OR "CLIENT"=:A4 AND
      "CONTEXT_ID"=:A5 AND "TYPE_ID"=:A6 AND "IS_CURRENT"=:A7 OR "CLIENT"=:A8 AND "CONTEXT_ID"=:A9 AND
      "TYPE_ID"=:A10 AND "IS_CURRENT"=:A11 OR "CLIENT"=:A12 AND "CONTEXT_ID"=:A13 AND "TYPE_ID"=:A14 AND
      "IS_CURRENT"=:A15 OR "CLIENT"=:A16 AND "CONTEXT_ID"=:A17 AND "TYPE_ID"=:A18 AND "IS_CURRENT"=:A19
    The execution plan used for this SQL is:
    0
    SELECT STATEMENT
    1
    INLIST ITERATOR      
    2  
    TABLE ACCESS BY INDEX ROWID MES_DB_AGGREGATE
    3    
    INDEX RANGE SCAN  MES_DB_AGGREGATECU
    MES_DB_AGGREGATE in our case has over 5 million entries.
    The parameterization of the DB incl. Memory and all should be OK.
    The index range scan simply takes that long.
    This might be, because the MES_DB_AGGREGATECU index has the lowest cardinality column (CLIENT) first.
    Header 1
    Header 2
    COLUMN_NAME
    NUM_DISTINCT
    CLIENT
    1
    CONTEXT_ID
    433
    TYPE_ID
    2192
    IS_CURRENT
    2
    Could you have your team check on this, because with the situation as is, the Job Monitoring application seemingly becomes non-usable, as soon, as you start to scale up.
    Best Regards,
    Thorsten

  • Run a batch file from demantra workflow

    I am trying to run a batch file from demantra's workflow by creating an executable step.
    I am getting the following error.
    Error description ’’Invalid command line:’’"D:\Oracle Demantra Spectrum\Collaborator\demantra\sop\populate_staging.bat"
    I am giving the following value in command line of executable step.
    "#application_root#\sop\populate_staging.bat"
    The batch file exists in the appropriate folder.
    Following code is in the batch file.
    sqlldr userid=msdem/msdem@demsbx control=load_item_hier.ctl
    Please help me.
    Thanks

    This should work for you-
    Create a batch file on your current server (ODI) and write in the path to the other batch file on the other server.
    //Server2completename/D$/Path/yourbatchfile.bat
    From ODI call your batch file that you created on the same machine.. which will inturn call the other batch file on a different machine to execute batch client.
    Also can you paste the errors that you may be getting.. need to check if you are getting any specific issue related to this.
    Thanks
    Denzz

  • Workflow Status Monitor in BPM

    Hi,
    In Oracle Workflow we're able to rewind, retry, skip activities via status monitor. Are those functions available in BPM suite 11?
    When i both look at E.M and google it, i've found Oracle document named "Migrating to Oracle BPM from Oracle Workflow" , but unfortunately again i'm not able to find tips about how to update payload (wf attributes) of a process instance, rewind to previous step, retry, skip current step. Can you please share any document or tips for those issues to fully implement wf admin functionalities like in wf status monitor.  Also is it possible to integrate both work flow and bpm task list applications into a common standalone ADF task list page?
    Regards
    Ümit Sadegüzel

    Hi Ümit,
    With Oracle BPM you're dealing with not only the process and its interactive activities, but also the human tasks that accompany every interactive activity.  What I think will probably be most helpful to you will be the Human Task API.  Below are the links I wish I’d known about when first getting started with the APIs.  Arun Pareek and Niall Commiski’s blog posts give you practical working examples that actually work.
    Although there are new REST APIs, you might want to concentrate on the SOAP and Java APIs for now.
    BPM 11g Samples: This samples site has two links you might find useful (the “BPM 11g APIs” and the “BPM 11g Update task and Message based Correlation” links) http://java.net/projects/oraclebpmsuite11g/pages/Samples
    Fusion Middleware Developer's Guide for Oracle SOA Suite – Chapters 33 (Building a Custom Worklist Client) and 34 (Introduction to Human Workflow Services).  These document the Human Workflow Java and SOAP APIs. http://docs.oracle.com/cd/E28280_01/dev.1111/e10224/bp_worklistcust.htm#SOASE839
    http://docs.oracle.com/cd/E28280_01/dev.1111/e10224/bp_workflow.htm#SOASE104
    Arun Pareek has two excellent blogs on the SOAP and Java Human Workflow Service APIs.  https://beatechnologies.wordpress.com/2011/08/22/oracle-human-workflow-web-service-apis/https://beatechnologies.wordpress.com/2011/08/24/using-java-apis-for-oracle-human-workflows/
    Human Task ITaskQueryService API example and JavaDoc reference - http://docs.oracle.com/cd/E14571_01/apirefs.1111/e10660/oracle/bpel/services/workflow/query/ITaskQueryService.html
    Oracle BPM IInstanceQueryService API JavaDoc reference - http://docs.oracle.com/cd/E28389_01/apirefs.1111/e25378/oracle/bpm/services/instancequery/IInstanceQueryService.html
    Oracle BPM API example to retrieve a list of instances – http://soadev.blogspot.in/2011/07/querying-oracle-bpm-process-instances.html
    Niall Commiski’s blog on reassigning tasks using the Java API - http://niallcblogs.blogspot.com/2013/12/292-bpm-11g-human-task-reassignment-via.html
    Niall Commiski’s blog on updating the payload in a human task using the human task api - http://niallcblogs.blogspot.com/2013/07/261-short-digression-into-human-task-api.html
    Niall Commiski’s blog on Purging Instances using the Composite API -  http://niallcblogs.blogspot.com/2011/12/soabpm-apis-manipulating-composites-and.html
    Niall Commiski’s blogs on the Human Workflow Java API: Oracle BPM 11g Human Workflow Service Java API – Part 1 - retrieve tasks and task information http://niallcblogs.blogspot.com/2010/11/oracle-human-workflow-service-java-api.html
    Oracle BPM 11g Human Workflow Service Java API – Part 2 - retrieving payload values http://niallcblogs.blogspot.com/2010/11/human-workflow-java-api-part-2.html
    Oracle BPM 11g Human Workflow Service Java API – Part 3 – retrieving tasks assigned to a user - ITaskQueryService.AssignmentFilter
    http://niallcblogs.blogspot.com/2010/12/oracle-human-workflow-part-3.html
    Human Workflow Java API sample (download the “workflow-118-JavaSamples” and “workflow-100-VacationRequest” zip file on this page) – this has Java API examples that add attachments, get attachments, get tasks, initiate tasks, query tasks based on different predicates, assign (route) tasks, reassign tasks, update the task’s outcome https://java.net/projects/oraclesoasuite11g/downloads/directory/HumanWorkflow?field=date&order=asc&page=2  
    Hope this helps,
    Dan

  • Oracle.apps.fnd.wf.Monitor not found

    I upgraded workflow 2.6.2 to 2.6.3 and then when I tried to view workflow diagram I get the follow error. I tried with Internet Explorer and Netscape:
    Java Plug-in 1.5.0_04
    Using JRE version 1.5.0_04 Java HotSpot(TM) Client VM
    User home directory = D:\Documents and Settings\GZ0R82
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    java.lang.NoClassDefFoundError: oracle/apps/fnd/common/VersionInfo
         at oracle.apps.fnd.wf.Monitor.<clinit>(Monitor.java:45)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Any idea?
    Thanks.
    Fernando.

    Hello,
    I suiggets you're using MSIE
    The Microsoft Java Machine has some differents with standart Sun JVM, so the "Diagram" applet doesn't work
    Install the Sun Java SDK v 1.4.1 or high. You may get it from http://java.sun.com
    Check the box "Use Java2 v.1.4...."
    in your IE: Tools->Properties->Addition properties->Java(Sun)

  • Oracle Demantra Plug-in

    Hi,
    Is there any Plug-in available for Oracle Demantra?
    Is it possible to integrate Oracle Demantra with Oracle Enterprise Manager Grid Control?
    Thanks,
    Manoj

    Hi Manoj,
    As per my knowledge, the Oracle Enterprise Manager Grid Control helps us to manage the databases and application servers in a grid solution.
    Coming to the plug-in part of your query, there is no specific one for Demantra since Demantra can be integrated with EBS/JDE/Siebel or could be used as an independent system. Hence based on the integration we can use the respective Application Management Pack for monitoring the Enterprise Environment.
    http://download.oracle.com/docs/cd/B16240_01/doc/nav/plugins.htm
    The URL gives the plugins available for OEM 10g Release 5 (10.2).
    For the database monitoring purposes, OEM uses by default the SYSMAN schema in an Oracle database as a super-administrator account/repository. So in case of monitoring Demantra's database, I believe we should point OEM to the DBA username (like SYSTEM) that we pass while installing Demantra because Demantra objects (procedures, tables, indexes etc.) are stored within the Demantra Schema (like dmtra_template) in the DBA username(SYSTEM).
    I hope I could be of some help to your queries. For further specific questions I would suggest you to get in touch with your Oracle respresentative.
    Regards,
    Shekhar

  • Execute Shell Script through Demantra Workflow

    Hi All ,
    Can we execute shell script from Demantra Workflow ?
    If yes where should we place the shell script file and wat should be the commandline command in the step .
    We have the Demantra installed on a windows server and the workflow manager is on a linux server .
    the batch file on the windows server can be executed through the secure shell from the linux server .
    I am trying to achieve the same through thr demantra workflow
    Appreciate any input on the same .
    Thanks and regards
    Suzy

    Hi,
    Shell script is not supported till Demantra 7.2.0.2 WF.
    I have checked with Oracle team also and reply I got below for your reference:
    QUESTION
    *=========*
    As per your details, shall we conclude like this:
    *"only *.bat and *.exe files can be used in workflow. Demantra standard functionality doe*
    *s not support shell script in workflow"*
    ANSWER
    *=======*
    Hi ,
    The Demantra standard functionality 7.2.0.2 does support shell script in workflow.
    Thanks,
    Asya
    Please review the note#468071.1-Unable to Run EBS Workflows that Call EngineManager.exe in
    You will find this note is referring to the Enhancement Request Bug 6644455-- ANALYTICAL ENGINE
    NOT AVAILABLE ON UNIX/LINUX
    But the enhancement bug exist and I hope it is fixed in Demantra 7.3.
    Tks
    MJ

  • Calling owb workflow job created in oem using pl/sql

    is it possible using pl/sql to call owb workflow job which is created thru oem
    can you pl be kind enough to share a sample.
    thanks

    Hi,
    The same question was just answered by another member a couple a days ago want to run owb mappings thru job schedule :
    sqlplus_exec_template runtime_owner location_name PROCESS process_name "," ","
    sqlplus_exec_template is in "D:\oracle\oraWB\owb\rtp\sql"
    Nikolai Rochnik

  • How to find the particular record in 1000's of workflow jobs are running

    Hi,
    In a data manager -> in workflow tab>IF a record is in CHECK-OUT MODE there are 1000's of jobs are running in that workflow tab. Can anyone tell me how to find that particular record in that workflow jobs.
    Can anyone show me the difference in getting a record in 5.5 and 7.1

    Hello COTI
    Unfortunatly, SAP MDM doesn't have good ability for  WF search.
    All WF clarify by it's status (unlaunched, avialable, Received, complited, error  etc.)
    For each WF SAP MDM assing unique Job ID and this id will be shown in Job ID field in Data Manager WF Tab.
    You can change WF list order by all WF fields like as Job ID, Step, User, Start etc. and try to find your's WF.
    You can use Java API - this is one of the best solution for WF management and WF mass upload  (for example)
    Regards
    Kanstantsin Chernichenka

  • Oracle Demantra 7.3.1.5.0 Installation Issue

    Dear All,
    I have a Win 7 64 Bit OS on my Laptop with 16 GB Memory and Core i7 Processor.
    I Downloaded both 32 bit and 64 Bit Windows based Oracle Demantra 7.3.1.5.0 versions from Oracle's E-delivery Successfully.
    Prior to the Installation of Oracle Demantra 7.3.1.5.0 using Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
    I created the required Tablespaces as
    create tablespace TS_DP datafile 'F:\oracle\product\10.2.0\oradata\test\ts_dp01.dbf' size 1000M;
    create tablespace TS_SALES_DATA datafile 'F:\oracle\product\10.2.0\oradata\test\ts_sales_data01.dbf' size 500M;
    create tablespace TS_SALES_DATA_X datafile 'F:\oracle\product\10.2.0\oradata\test\ts_sales_data_x01.dbf' size 100M;
    create tablespace TS_SIM datafile 'F:\oracle\product\10.2.0\oradata\test\ts_sim01.dbf' size 500M;
    create tablespace TS_SIM_X datafile 'F:\oracle\product\10.2.0\oradata\test\ts_sim_x01.dbf' size 100M;
    create tablespace TS_SALES_DATA_ENGINE datafile 'F:\oracle\product\10.2.0\oradata\test\ts_sales_data_engine01.dbf' size 500M;
    create tablespace TS_SALES_DATA_ENGINE_X datafile 'F:\oracle\product\10.2.0\oradata\test\ts_sales_data_engine_x01.dbf' size 100M;
    All Tablespaces are create successfully.
    Also I set the system JAVA environment variable as
    JAVA_HOME with value as %JAVA_HOME%\bin;F:\oracle\Middleware\jdk160_24;C:\Program Files (x86)\Java\jre1.5.0_22
    (Earlier I used jdk1.6 for Middleware which I removed using Add Remove from control Panel).
    As per the Java requirement for Demantra (which requires - JDK 1.5.0_22 only) I Installed. jdk-1_5_0_22-windows-i586-p.exe and jre-1_5_0_22-windows-i586-p.exe. During the Java JDK Installation I get the following error
    Java Virtual Machine Launcher
    Could not find the main class. Program will exit.
    After JDK Installation in spite of the main class error. I started Demantra 64 Bit 7.3.1.5.0 setup.exe installation
    It goes fine with all the wizard steps of selecting the user, jdbc connection, database validations, standard applications,
    user execution until it comes across the following error during installing wizard step as :
    Failed to Install JDK
    Failed to complete JDK 1.5.0_22 Installation.
    Please Install JDK 1.5.0_22 manually.
    Further it looks for Adobe installation too, where I find the next button grayed out. and the installation stops unless cancel
    button is pressed.
    I tried even installing thru Demantra 32 Bit 7.3.1.5.0 setup.exe  (same error for both 32 bit and 64 bit too)
    What can be the root cause of the error :
    1) Is it because of the JDK Error (Could not find the main class. Program will exit)
    2) Is Oracle Demantra  7.3.1.5.0 setup.exe certified to be installed in Win 7 64 Bit or 32 Bit ?
    3) Do I need to Install JDK before Demantra Install. (As mentioned in the document demantra installs JDK too)
    4) Is the system Environment Variable as
        %JAVA_HOME%\bin;F:\oracle\Middleware\jdk160_24;C:\Program Files (x86)\Java\jre1.5.0_22
          Correct or Wrong ?
    I have been trying the Installation of Java and Demantra umpteen times,thru various screen shot and documents,
    for last 5 days,  still the same issue ?
    What is the correct Java version for Demantra 32 Bit 7.3.1.5.0 and Demantra 64 Bit 7.3.1.5.0
    What is the overall root cause of the installation failure.
    Thanks
    Ajaz

    Hi,
    Kindly refer my blog link:
    http://obieeelegant.blogspot.com/2011/10/windows-7-home-premium-edition-is-not.html
    from exp..with obiee11g installation with win 7 64bit i have face so many issues..
    http://obieeelegant.blogspot.com/2011/09/obiee-11g-111150-software-only.html
    obiee11.1.1.5.0(Software Only Install) windows 7  64bit Installation Error
    OBIEE11g software only install configuration get hangover on win 2008 64
    ==========
    Note: some time it works with simple install option then rebooting mechine/restarting mechine it's not working.then i had OWC and discussed with MY Oracle Support team...they confirmed it's not support. please refer the certification matrix excel file in my blog link
    Hope it's clear...
    Thanks
    Deva
    Edited by: Devarasu on Nov 25, 2011 11:18 AM

  • BizTalk Zombie Message not coming as error in SQL Job "Monitor BizTalk Server"

    Hello All,
    I have Zombie message in Message box
    But when I run job "Monitor BizTalk Server" no error reported.
    My understanding this should be reported as error in second step. Same has been in details in URL
    http://biztalkmessages.vansplunteren.net/2010/10/19/monitor-biztalk-server-job-in-biztalk-2010/
    Can anyone help why above behavior is different ?
    Tarun

    Well....here's the deal.  It seems the group knowledge on the Monitor BizTalk Job is pretty limited.  Here's a better blog with some more information:
    http://social.technet.microsoft.com/wiki/contents/articles/19700.biztalk-server-monitor-biztalk-server-job.aspx
    I don't think a Zombie would immediatly qualify for any of those cases because for some period of time, it still belongs to a service instance, just one that can no longer Consume it.  Eventually it may qualify for condition 4 once the Completed Orchestration
    is purged.
    Disclaimer: This is educated speculation.  If anyone has done any testing around this, I and others would appriciate some guidence.

  • Business Process Monitoring (Job Monitoring)

    Hi all,
    I have some business processes being monitoring. Most of them are background jobs and we are monitoring delays, cancellation, duration...
    My problem is that we have an external tool (CONTROLM) for job scheduling.
    That means that jobs are not released directly in SAP, but they are in status scheduled and when the start condition (in the external tool) is reached, controlm makes a copy of the scheduled job and start it in SAP.
    I have succeded to have the alerts working checking the option of "start job condition" , but some times I receive alerts like this one: "Job Name with schedule date 16.09.2010; not yet started" even if job is started and finished correctly.
    Anyone knows what could be the problem? Or why are we receiving these "fake alerts"?
    Best regards,
    Virginia

    Hi Virginia,
    if you work with external schedulers and use start condition "Start by time" then you have to ensure that the maintained Planned Start Time in BPMon is earlier than the actual Start Time coming from the scheduler. If you use start condition "Use job start condition" this problem cannot occur as every job is picked up that fits the naming criteria. But there you cannot check for the start delay (business wise) but only system wise.
    In general you have to ensure that either the latest SP for ST-PI plug-in is installed on your backend system or the latest SAP notes (component SV-SMG-MON-BPM) related to ST-PI are implemented. Only then you can ensure that no "funny" behaviour occurs when it comes to job monitoring.
    Best Regards
    Volker

  • Background Job Monitoring not getting activated

    Hi Gurus,
    I have been trying to use the batch job monitoring with ccms.
    I have a problem in activating the "Background Job Monitoring" in few systems.
    I followed the steps in SAP Note 553953 but no use.
    In RZ21 i am not able to see the Background Job Monitoring under "Background" MTE .
    The same is wokring in Dev but in QA and Prod its not .
    Please suggest the solution and cause of the problem.
    Dev

    Hi,
    in SAP Solution Manager there are actually tools to support you in implementing the Job Scheduling Management (JSM) standard and these tools cover the request, documentation, schedulign and monitoring of a job.
    http://service.sap.com/~form/sapnet?_SHORTKEY=01200252310000087418&_SCENARIO=01100035870000000202&_OBJECT=002007974700000007302009E
    Visit the following FAQs to find out more about JSM
    http://wiki.sdn.sap.com/wiki/display/SM/FAQJobScheduling+Management
    http://wiki.sdn.sap.com/wiki/display/SM/FAQBusinessProcess+Monitoring
    Kind regards,
    Martin
    http://service.sap.com/jsm
    http://service.sap.com/bpm

  • Running an Oracle Enterprise Manager job in Oracle SQL Developer

    Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
    Is it possible to run an Oracle Enterprise Manager job in Oracle SQL Developer? I have looked through the Oracle help documents for 9i and it does not seem to cover this topic.

    1007692 wrote:
    Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
    Is it possible to run an Oracle Enterprise Manager job in Oracle SQL Developer? I have looked through the Oracle help documents for 9i and it does not seem to cover this topic.DBA_JOBS resides in the database; not in any particular client.

  • Oracle 11g - Invoke JOB  on another server?

    Oracle 11g - Invoke JOB on another server?
    ===========================
    I hope this is the right forum for this issue, if not let me know, where to go.
    I posted on other forum, but I did not find resposnes there, so I am posting it here.
    We are using Oracle 11g (11.2.0.1.0) on (Platform : solaris[tm] oe (64-bit)), Sql Developer 3.0.04
    1) We are loading table using PL/SQL.
    2) This data will be consumed by Mainframe DB2 process (Read our table, format and calculate measures).
    3) Return the result as another Oracle table (Push) with derived data from DB2.
    There is a IBM JCL that read our table and return an Oracle table with calculated data.
    Is it doable?
    How do we invoke the IBM JCL from our Oracle 11g server upon loading the table (Step 1)?
    Are there any metalink notes to address this situation?
    Are there any alternate approach?
    Thanks in helping us.

    Hi,
    Since your talking about interfacing between Oracle and DB2 where 3 sequential steps are to be taken, I would recommend to use a UNIX shell script to kick off the seperate steps.
    I have no experience whatsoever with DB2, so I can't tell you if you would be able to start a JCL ( DB2 Job ?? ) from within the oracle database.
    Otherwise you would need a kind of polling mechanism where the DB2 database checks for a certain value (table value) existence in order to start its work
    HTH
    FJFranken

Maybe you are looking for