Forgot your password?    
+ Reply to Thread
Results 1 to 1 of 1

Thread: Retrieving Concurrent Request Id from the Session SID

  1. #1
    Expert Oracle Administrator
    Join Date
    Oct 2011
    Location
    New Delhi, India
    Posts
    427

    Retrieving Concurrent Request Id from the Session SID

    Retrieve conc request id and database sid from os pid with the following query

    select request_id, p.spid,s.* from apps.fnd_concurrent_requests r , v$process p , v$session s
    where r.request_id =
    (select request_id from fnd_concurrent_requests fcr
    where fcr.oracle_process_id=&OS_PID
    and trunc(fcr.request_date)=trunc(sysdate))
    and p.SPID = r.ORACLE_PROCESS_ID
    and p.ADDR = s.PADDR;


    Retrieve the currently running request_id from database sid with the following query.

    select f.request_id, v.spid,s.sid, s.username,s.serial#, s.osuser, s.status
    from v$process v, v$session s, applsys.fnd_concurrent_requests f
    where s.paddr=v.addr
    and f.oracle_process_id=v.spid
    and trunc(f.request_date)=trunc(sysdate)
    and sid=&SID;

+ Reply to Thread

Similar Threads

  1. priority for concurrent request set
    By Amit in forum Concurrent Processing Server / Workflow
    Replies: 1
    Last Post: 10-16-2012, 09:57 PM
  2. To Put a Concurrent Request on Hold
    By Hemant in forum Concurrent Processing Server / Workflow
    Replies: 2
    Last Post: 06-15-2012, 04:49 AM
  3. Concurrent request help needed
    By saioracleappsdba in forum Concurrent Processing Server / Workflow
    Replies: 1
    Last Post: 06-15-2012, 04:38 AM
  4. Manager that ran a Concurrent Request
    By Hemant in forum SCRIPTS : Concurrent Requests & Concurrent Request Sessions
    Replies: 0
    Last Post: 10-31-2011, 08:27 PM
  5. SID (Session Id) and SPID (OS Process Id) for a Concurrent Request
    By Hemant in forum SCRIPTS : Concurrent Requests & Concurrent Request Sessions
    Replies: 0
    Last Post: 10-31-2011, 08:07 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

DBA Lounge (P) Ltd. deals in Oracle Technologies on Consulting, Resourcing, Corporate Training


Online and corporate training available on Oracle Database 11g, Oracle 11g Real Application Cluster (RAC), Oracle Applications 11i/R12, Oracle Fusion Middleware 11g, Oracle Identity Management-OIM, Oracle Internet Directory 11g-OID, Oracle Business Intelligence Enterprise Edition-OBIEE, Oracle Golden Gate, Oracle Access Management-OAM, Oracle Internet Directory-ODS, Oracle Identity Analytics Architecture-OIA Statistics