The Script below gives the details of all Concurrent Programs submitted on a given date
==
select
f.request_id ,
pt.user_concurrent_program_name user_conc_program_name,
to_char(f.actual_start_date,'DD-MON-YY HH24:MI:SS') start_on,
to_char(f.actual_completion_date,'DD-MON-YY HH24:MI:SS') end_on,
floor(((f.actual_completion_date-f.actual_start_date)
*24*60*60)/3600)
|| ' HOURS ' ||
floor((((f.actual_completion_date-f.actual_start_date)
*24*60*60) -
floor(((f.actual_completion_date-f.actual_start_date)
*24*60*60)/3600)*3600)/60)
|| ' MINUTES ' ||
round((((f.actual_completion_date-f.actual_start_date)
*24*60*60) -
floor(((f.actual_completion_date-f.actual_start_date)
*24*60*60)/3600)*3600 -
(floor((((f.actual_completion_date-f.actual_start_date)
*24*60*60) -
floor(((f.actual_completion_date-f.actual_start_date)
*24*60*60)/3600)*3600)/60)*60) ))
|| ' SECS ' time_difference,
p.concurrent_program_name concurrent_program_name,
decode(f.phase_code,'R','Running','C','Complete',f.phase_code) Phase,
f.status_code
from apps.fnd_concurrent_programs p,
apps.fnd_concurrent_programs_tl pt,
apps.fnd_concurrent_requests f
where f.concurrent_program_id = p.concurrent_program_id
and f.program_application_id = p.application_id
and f.concurrent_program_id = pt.concurrent_program_id
and f.program_application_id = pt.application_id
AND pt.language = USERENV('Lang')
and f.actual_start_date like '24-JUN-15%'
order by
f.actual_start_date desc;
This blog offers expert insights on Oracle E-Business Suite (EBS), Database Administration, and Oracle Cloud Infrastructure (OCI). Explore in-depth tutorials, best practices, and solutions for Oracle EBS management, Oracle Database performance tuning, and OCI cloud administration. Whether you're optimizing Oracle databases, migrating to the cloud, or managing enterprise applications, our blog provides the latest tips and strategies to enhance your Oracle environment and ensure peak performance.
Subscribe to:
Post Comments (Atom)
-
When trying to add a datafile to a tablespace , got the error – ORA-32771: cannot add file to bigfile tablespace. SQL> ALTER TABLESPAC...
-
Below Query is Used to verify if MRP process is running fine on Standby Database, after any maintenance activity that requires disconnect ...
-
Issue: FS_CLONE is failing with error :Could not find patch context file from database Error details: $adop phase=fs_clone ============== C...
No comments:
Post a Comment
Was this Post Helpful?
Feel free to suggest your opinions in the comments section!