Query to find pending concurrent requests
Hi All,
Please provide query to find pending concurrent requests?
Thanks & Regards
Tharun
Hi,
Check this
select COUNT (distinct cwr.request_id) Peding_Requests FROM apps.fnd_concurrent_worker_requests cwr, apps.fnd_concurrent_queues_tl cq, apps.fnd_user fu WHERE (cwr.phase_code = 'P' OR cwr.phase_code = 'R') AND cwr.hold_flag != 'Y' AND cwr.requested_start_date <= SYSDATE AND cwr.concurrent_queue_id = cq.concurrent_queue_id AND cwr.queue_application_id = cq.application_id and cq.LANGUAGE='US'
AND cwr.requested_by = fu.user_id and cq.user_concurrent_queue_name
in ( select unique user_concurrent_queue_name from apps.fnd_concurrent_queues_tl);
http://4uappsdba.wordpress.com/2011/11/19/sql-to-find-pending-concurrent-requests/
Regards
Sri
Similar Messages
-
Script to find the Concurrent Request ID from its associated SID
Hi,
In one of my production system, my server load is going very high. From the top used process ID of server, I found the SID and found out that the program running is "ora_rw20_run@acgerp (which is a concurrent program)
How do I find out the Request ID using the SID/PID? Can someone please provide me the script to find the Concurrent Request ID from its associated SID?
Thanks!There has been no new changes in the report server or in the database. Suddenly of late, we have been observing this program running and it never ends, consuming major part of the cpu load. Not sure what this program is -> ora_rw20_run. There is no mention about it in metalink or in google.
I followed MOS Doc 1058210.6 and tried to debug more. But the formatted output doesnt give any info either.
TKPROF: Release 10.2.0.2.0 - Production on Tue Oct 20 09:44:21 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Trace file: prod_ora_15721.trc
Sort options: default
count = number of times OCI procedure was executed
cpu = cpu time in seconds executing
elapsed = elapsed time in seconds executing
disk = number of physical reads of buffers from disk
query = number of buffers gotten for consistent read
current = number of buffers gotten in current mode (usually for update)
rows = number of rows processed by the fetch or execute call
0 statements EXPLAINed in this session.
Trace file: prod_ora_15721.trc
Trace file compatibility: 10.01.00
Sort options: default
1 session in tracefile.
0 user SQL statements in trace file.
0 internal SQL statements in trace file.
0 SQL statements in trace file.
0 unique SQL statements in trace file.
96507 lines in trace file.
0 elapsed seconds in trace file.
When I use the below query, I can find that the session is running a module named "PAXMGSLS" and the action is Concurrent Request.
But I am not sure how to find out the Concurrent Request ID using this info to dig more (look into the concurrent request log files etc)
select s.sid,s.serial#,p.spid os_pid,s.status,
s.osuser,s.username,s.COMMAND,s.MACHINE,s.MODULE, s.SCHEMANAME,
s.LOCKWAIT,s.action
from v$session s, v$process p
WHERE s.paddr = p.addr
and s.sid = 823
SID SERIAL# OS_PID STATUS OSUSER USERNAME COMMAND MACHINE MODULE SCHEMANAME LOCKWAIT ACTION
823 47 4559 ACTIVE applprod APPS 3 acgerp PAXMGSLS APPS Concurrent Request -
How to find a concurrent request's responsibility of the FND user
How to find a concurrent request's responsibility of the OA user who submitted?
For example, I have a concurrent request id: 123, I know user A submitted,
I want to know user A's Responsibility when submitting the request id: 123.
ThanksHi,
I'm not sure about this, but can you check whether FND_CONCURRENT_REQUESTS.RESPONSIBILITY_ID provides you with the RESPONSIBILITY_ID of the user from which the request is triggered ? If yes, joining this with FND_RESPONSIBILITY_VL.RESPONSIBILITY_NAME can give you the name of the executing responsibility.
Regards,
Rakesh. -
Need Query to find Pending Quantity for Receipts
Hi all,
Can any one please help me in finding the pending quantity for a particular Receipt.
ex. If a receipt has
transaction_type Quantity
Receive 15
Accept 5
Deliver 5
then my accepted quantity should be (Receive-Deliver) = 10
I have written a query
SELECT RSH.RECEIPT_NUM RECEIPT_NUM, RSH.CREATION_DATE CREATION_DATE, RT.TRANSACTION_TYPE TRANSACTION_TYPE, NVL(RT.QUANTITY, 0) QUANTITY,rt.destination_type_code destination_type_code,
RT.UNIT_OF_MEASURE UNIT_OF_MEASURE, RSL.ITEM_DESCRIPTION ITEM_DESCRIPTION, NVL(RT.PO_UNIT_PRICE, 0) PO_UNIT_PRICE,
RT.CURRENCY_CODE CURRENCY_CODE, NVL(RT.CURRENCY_CONVERSION_RATE,0) RATE, RSL.SHIPMENT_LINE_ID SHIPMENT_LINE_ID,
NVL(RT.QUANTITY * RT.PO_UNIT_PRICE * RT.CURRENCY_CONVERSION_RATE ,0) VALUE
FROM RCV_TRANSACTIONS RT, RCV_SHIPMENT_HEADERS RSH, RCV_SHIPMENT_LINES RSL, PO_VENDORS POV, PO_VENDOR_SITES POVS,
ORG_ORGANIZATION_DEFINITIONS ORG, HR_LOCATIONS_ALL_TL HRL, PO_LOOKUP_CODES PLC,
RCV_SUPPLY RS
WHERE RSH.SHIPMENT_HEADER_ID = RT.SHIPMENT_HEADER_ID
AND RSH.SHIPMENT_HEADER_ID = RSL.SHIPMENT_HEADER_ID
AND RSH.RECEIPT_NUM IS NOT NULL
AND POV.VENDOR_ID (+) = RSH.VENDOR_ID
AND POVS.VENDOR_SITE_ID (+) = RSH.VENDOR_SITE_ID
AND HRL.LOCATION_ID (+) = RSH.SHIP_TO_LOCATION_ID AND HRL.LANGUAGE(+) = USERENV('LANG')
AND ORG.ORGANIZATION_ID (+) = RSH.ORGANIZATION_ID AND RSH.RECEIPT_SOURCE_CODE = PLC.LOOKUP_CODE
AND PLC.LOOKUP_TYPE = 'SHIPMENT SOURCE TYPE'
AND RS.RCV_TRANSACTION_ID = RT.TRANSACTION_ID
AND RT.SHIPMENT_LINE_ID = RSL.SHIPMENT_LINE_ID
AND RT.TRANSACTION_TYPE IN ('RECEIVE','TRANSFER')
ORDER BY 1
I want want the pending quantity...
Please helpYou can get the quantities in po line locations, then you can find the balance quantity to be received.
you can get the following from po line locations.
quantity
quantity_received
quantiy_accepted
quantity_rejected
quantity_billed
quantity_cancelled
--Prasanth -
Hi,
How can i find out what are the pending concurrent request ?
How to troubleshoot the, Sudden icrease of Pending concurrent requests ?How can i find out what are the pending concurrent request ?- Login to System Administrator
- Navigate to Request > View
- Find Requests, Specific Requests, Phase: Pending
- Click Find
- This will list all pending concurrent requests you have in the system
How to troubleshoot the, Sudden icrease of Pending concurrent requests ?Check Note: 213021.1 - Concurrent Processing (CP) / APPS Reporting Scripts
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=213021.1
ANALYZEPENDING.sql --> Script for diagnosing Pending Concurrent Requests (For all Releases of Apps) -
Oracle 11i - Concurrent Request Set Details
Hi,
I would like to frame a query that extracts the concurrent request sets and the associated child requests. I am not sure of the data mapping.Can somebody help me with the query.
Regards,
Radhika.I would like to frame a query that extracts the concurrent request sets and the associated child requests. I am not sure of the data mapping.Can somebody help me with the query. https://forums.oracle.com/forums/search.jspa?threadID=&q=FND_REQUEST_SETS&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
Need to retrive the name-value pair of concurrent request
Hello All,
I need to write a query that takes the concurrent request ID (executed concurrent request) as input and retrives the concurrent request parameter names and the values submitted to run that request.
we have considered the following tables to acheive the result:
fnd_descr_flex_col_usage_tl
fnd_concurrent_requests
fnd_concurrent_programs
however unable to map the parameter name-value pairs properly.
Thanks
Krrishdeclangallagher .. I am sorry for not being very clear ...
I am sorry for taking your time.But I appreciate your effort .and time ..
I
I have two servlets 1. result (existing) 2. preResult ( probable wrap around)
The servlet
1.result : takes in the Name and gets the result from the db ( Actually uses Castor and JDO ) to get the result
and the GET is as follows
http://128.173.99.68:8080/WebApplication/result?queryFor=Experiment&Name="john"
where "queryFor" is for the name of the form and Name is the text in the VTL ( View)
2.preResult is supposed to be a wrapper around the servlet "result" this takes in the ID from the user
and is of the form
http://128.173.99.68:8080/WebApplication/preResult?queryFor=Wrapper&ID="1234"
There exists a DB mapping to ID and Name .
So Instead of calling the result servlet ..I'll directly call the preResult servlet ...get the ID from the user ...
and get the corresponding Name from the db
....here
I wish to (If possible) tweak the "request" parameter
change
1.The queryFor value to Experiment
2. add The Name="john"
and send this to the result servlet so that it process it ........... -
Hi ,
I have terminated concurrent request , When i try to cancel the concurrent request ,
a message comes up saying that
Request 123456 no longer can be cancelled , the concurrent manager process that was running this request exited abnormally , The ICM mark this request has completed with error . When i try to run a script to find the concurrent requests that are running
i come up with the 123456 request running , phase w , can someone suggest how i should be completely cancelling this request .
kind regards
KrishThanks Fadi ,
I couldnt hold the request and cancel it as the hold button isnt enabled but when i run to check the concurrent requests , i get the following
123456 R W 20087 14117 1250904 /applcsf/out/fpp11i/SHARPA.123456 1235671 R R 32623 23969 1234 / applcsf/out/fpp11i/SCOTTAD.1235671
1252345 R R 32625 23970 1405602 /applcsf/out/fpp11i/SCOTTAD.1252345
I am interested so that 123456 dont appear when i run for running requests ,
can you please advise as how should i be doing that
kind regards
krish -
Purging All the Concurrent Requests after Cloning
Hi DBAs,
After performing the cloning to SANDBOX instance (12.0.4), I found more than 2000 pending conc request. I want to get rid of all concurrent request. What is the best way to purge all Concurrent Requests from Cloned instance.
Thanks
SamarYou need to update fnd_concurrent_requests and set all pending concurrent requests to Completed/Error.
SQL> UPDATE fnd_concurrent_requests
SET phase_code = 'C', status_code = 'E'
WHERE phase_code = 'P';Note: 152209.1 - What are the Meaning of the Codes in the STATUS_CODE and PHASE_CODE Columns of FND_CONCURRENT_REQUESTS Table?
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=152209.1
To purge concurrent managers/requests tables and output/log files, submit "Purge Concurrent Request and/or Manager Data" concurrent request. -
Query to find Concurrent requests executed on each db node in RAC from in last 24 Hours
Hi
Could you please help me in getting the query to find total number of concurrent requests executed on each db node in Two DB Node RAC with PCP ( Two CM Nodes) in last 24 hours.c2670397-8171-480e-b9f8-8874e77ee0b4 wrote:
Hi
Could you please help me in getting the query to find total number of concurrent requests executed on each db node in Two DB Node RAC with PCP ( Two CM Nodes) in last 24 hours.
Query FND_CONCURRENT_REQUESTS table (ACTUAL_START_DATE and ACTUAL_COMPLETION_DATE columns) -- http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_CONCURRENT_REQUESTS&c_owner=APPLSYS&c_type=TABLE
https://community.oracle.com/message/10780262#10780262
https://community.oracle.com/message/10589420#10589420
Thanks,
Hussein -
Query to find the long running concurrent requests morethan 2 hours
Can any one please provide the " Query to find the long running concurrent requests which are running more than 2 hours"
You need to find the different between the current time/date and FND_CONCURRENT_REQUESTS.ACTUAL_START_DATE for the running requests.
More details can be found in the following notes:
Note: 187504.1 - bde_request.sql - Process and Session info for one Concurrent Request (11.5)
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=187504.1
Note: 134035.1 - ANALYZEREQ.SQL - Detailed Analysis of One Concurrent Request (Release 11 and up)
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=134035.1
Note: 751438.1 - How To Check List , Start And End Dates Of A Parent Concurrent Request And All Childs
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=751438.1 -
Query to find the request group associated with a responsibility
Hi All,
I have to attach a report to around 30 responsibilities. For this I will have to find the request group for each responsibility and then add the Concurrent Program for the report in the corresponding request group.
Can anyone help me with a query to find the request group associated with a responsibility.
Regards,
SKJust to add to the query above, if you want to see request group along with request_group_id you do join as follows
SELECT frv.responsibility_name
,frg.request_group_name
FROM fnd_request_groups frg,
fnd_request_group_units frgu,
fnd_responsibility_vl frv
WHERE 1 = 1
AND frgu.request_group_id = frg.request_group_id
AND frv.request_group_id = frg.request_group_id
ORDER BY responsibility_name
Thanks
Shailendra -
How to find the request id for these suspect dead concurrent request
Dear All,
Good afternoon.
Below are the CMCICU (Updated Standard Cost) concurrent request which we can not find in the front-end of Oralce EBS.
We want to verify the concurrent request id for these.
How can we do it?
myermt01@oracle:/home/oracle> ps -ef|grep CMCICU
oracle 24533 22566 1 15:17:00 pts/2 0:00 grep CMCICU
oracle 29625 2028 3 Aug 22 ? 27:20 CMCICU APPS/7484718500033DFF77FFB8BC77FFB9B077FFBAA477FFBB98401
oracle 15881 8762 4 Aug 23 ? 27:36 CMCICU APPS/7484718700033DFF00000000000000040000000000000000400
oracle 4913 6136 7 Aug 23 ? 28:03 CMCICU APPS/7484718800033DFF00000000000000040000000000000000400
oracle 7913 23291 5 Aug 22 ? 27:50 CMCICU APPS/7484718500033DFF77FFB8BC77FFB9B077FFBAA477FFBB98401
oracle 3813 23290 5 Aug 23 ? 27:47 CMCICU APPS/7484718800033DFF00000000000000040000000000000000402
oracle 5858 23115 7 Aug 22 ? 27:58 CMCICU APPS/7484718500033DFF77FFB8BC77FFB9B077FFBAA477FFBB98401
oracle 2166 19728 5 Aug 22 ? 27:15 CMCICU APPS/7484718500033DFF00000000000000040000000000000000400
oracle 2165 24039 3 Aug 22 ? 27:31 CMCICU APPS/7484718500033DFF77FFB8BC77FFB9B077FFBAA477FFBB98401
oracle 26105 22429 4 Aug 23 ? 27:23 CMCICU APPS/7484718500033DFF00000000000000040000000000000000401
oracle 8703 8698 3 Aug 22 ? 27:30 CMCICU APPS/7484718500033DFF000000000000000A0000000100000000400Hi Henry;
Please check below thread which could be helps you
Concurrent program- How to find database session
Re: Reg: Apps Concurrent
Concurrent Request-whcih is submmited by one of the Oracle USER
How to See Others Concurrent Request Oracle 11i
Regard
Helios -
Query to find concurrent programs defined in each concurrent manager queue
We have got custom concurrent queues defined and have then included applications / programs under it.
This way we are seggregating the load across multiple queues and application servers.
As a check , i want to find what programs are running / actually scheduled under each queue.
I can see the same from the application frontend. How can I find the same form backend database.
AUHi,
Please section "How to find out which request is handle by which concurrent queue." under the following link:
http://raghuook.blogspot.com/2010/08/apps-dba-trobleshoot-scripts.html
Also see the following link:
Checking the status of all concurent managers from backend
Requests run by a specific Concurrent Manager/Queue within the date range
Hope this helps!
Best Regards -
Dear Experts,
Can anyone give me query to find in SSHR 1) No. of Changes(Personal Info Update) Requested 2) No. of Processed Requests
1) No. of Changes(Personal Info Update) Requested
select COUNT(*)
from hr_api_transactions
where process_name like 'HR_PERSONAL_INFO_JSP_PRC'
and creation_date between '01-JAN-2014' AND '31-DEC-2014';
How do know whether they were processed successfully
where to see the meaning of Status column of HR_API_TRANSACTION?
Thanks
RahulHi Rahul,
For transaction status check the below query -
select * from fnd_lookup_values
where lookup_type like 'PQH_SS_TRANSACTION_STATUS'
and language = 'US';
Cheers,
Vignesh
Maybe you are looking for
-
G5 won't boot. White LED lights when power button is pushed, click heard.
Unlike some other non-booting G5 stories, mine never makes it past this stage. It's a dual 1.8ghz G5 powermac. The white LED above the power button turns on when the power button is pressed, a click is heard, but it does not go any further. The LED d
-
When i try to install lightning it trys to save as a pdf file in adobe
when i try to install lightning it will only save as a pdf in adobe how do i change that
-
Here is a summary of the permissions system the way I understand it. I hope it helps save anyone out there some of the time and trouble I've had to endure to understand Permissions. I) POSIX: Get info The 'Get Info' window is a user-friendly way to v
-
Uninstalling the latest security updates?
I'm having a lot problems with my built-in iSight on BOTH of my iMacs. Is it possible to uninstall the latest update? If so, how? Thanks for your help. Patrick
-
Fld selectn for mvmt type 561 / acct 900040 differs for Cost center (010)
hi all while uploading raw material i find " Fld selectn for mvmt type 561 / acct 900040 differs for Cost center (010)" this error. please help me to solve this error. thanks