Query to Identify the Concurrent Program for Long time.....................
Step1 : Run the first query , this will list all the programs that currently running in Application. Take the SID and use it in the second query. SELECT f.user_name ,a.request_id "Req Id" ,a.concurrent_program_id "Prg Id" ,a.RESPONSIBILITY_ID Responsibility ,a.phase_code,a.status_code ,b.os_process_id "OS" ,vs.sid ,vs.serial# "Serial#" ,vp.spid ,TO_CHAR(request_date,'DD-MON-YY hh24:mi:ss') request_date ,(NVL(a.actual_completion_date,SYSDATE)-a.actual_start_date)*1440 "Time" ,c.concurrent_program_name||' - '||c2.user_concurrent_program_name "Program" FROM APPLSYS.fnd_Concurrent_requests a ...