Who's Online
0 registered (), 8 Guests and 1 Spider online.
Key: Admin, Global Mod, Mod
Recent Posts
French Localizations
by jmoyano
Today at 09:20 AM
How managers initiates SSHR request of employees
by Geoff Dixon
Today at 09:02 AM
FYI: P60s to be available in Self Service
by kp_rapolu
01/09/10 03:42 PM
SSHR Personalization requirement
by kp_rapolu
01/09/10 03:41 PM
Request for responsibility in ESS
by SBi
01/09/10 05:49 AM
Nominate for peers/subordinat for reward
by bcooper
31/08/10 07:46 PM
UK HCM Sig - 29th September
by andy.fisher
31/08/10 10:05 AM
Migration of terminated Employees
by SBi
31/08/10 10:02 AM
Worldwide Bank Details Validation
by SBi
27/08/10 02:33 PM
HTML pages popping up BEHIND Core Apps forms?
by Geoff Dixon
27/08/10 12:34 PM
Top Posters (30 Days)
SBi 28
bcooper 14
CT 12
PeterP 10
Geoff Dixon 8
Saqib Rahat 7
EBS_USER 6
kp_rapolu 5
delboy 5
MarinaH 3
(Views)Popular Topics
Family Pack K issues thread 8728
CREATE_GRADE api returns:PLS-00306: wrong number o 6046
Still trying to locate... 4588
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 4356
Review of my Release 12 laptop 4212
Log-on problems for existing users 3526
Viewing Output of another user 3213
Family Pack K 3087
October UK-OUG? 3064
uploading bank branches to PAYROLL 2880
Topic Options
Rate This Topic
#2942 - 18/03/08 04:15 PM Converting to a Multi-Threaded Process
Gus Offline
hanger-on

Registered: 16/03/05
Posts: 59
Loc: Lapenne
Okay so you can turn Multi threading on and off using Pay Action Parameters

But does anyone know if you amend a custom PL/Sql process to be Multi Threaded

All the standard Payroll Processes use PYUGEN as the executable

Is this what you would have to do to convert a custom process to Multi thread ??

Any suggestions welcome


Top
#2944 - 19/03/08 08:09 AM Re: Converting to a Multi-Threaded Process [Re: Gus]
bcooper Offline
veteran
*****

Registered: 11/03/05
Posts: 944
Loc: Earth, Europe, England, here
Hi Gus (long time no hear by the way)

There is no one correct way of making a pl/sql process multi-threaded - it realy depends upon what the process does, and how it is executed.

I've recently completed work on making some big concurrent batch processing jobs multi-threaded by using Advanced Queueing (DBMS_AQ), which provides an easy way into threading.

The main 'parent' process creates the queue and places the work onto this queue. Child processes are spawned and passed the ID of the queue. These child processes simply loop through fetching the next message off the queue and performing the processing. If the queue is empty then the child process completes.

There is a wealth of information on DBMS_AQ available either from OTN or other 3rd party sites (a quick google reveals many).
Also Steven Feuerstein's book on Oracle in-built packages has a large section on using DBMS_AQ that provides a worked example.

I cannot provide you with any code samples as i do not own the IPR on them.

If you have specific questions on queueing later on then do please ask - i can provide assistance.
_________________________
I'm blogging again - albeit sporadically
Also my random musings courtesy of Twitter

Top
#2947 - 19/03/08 02:39 PM Re: Converting to a Multi-Threaded Process [Re: bcooper]
Gus Offline
hanger-on

Registered: 16/03/05
Posts: 59
Loc: Lapenne
Cheers Baz,

Do these DBMS_AQ jobs run okay under the Apps Concurrent Manager ??

Gus

Top
#2955 - 20/03/08 11:18 AM Re: Converting to a Multi-Threaded Process [Re: Gus]
bcooper Offline
veteran
*****

Registered: 11/03/05
Posts: 944
Loc: Earth, Europe, England, here
Yes indeed they do.
_________________________
I'm blogging again - albeit sporadically
Also my random musings courtesy of Twitter

Top
#2957 - 29/03/08 07:58 AM Re: Converting to a Multi-Threaded Process [Re: bcooper]
thierry Offline
stranger

Registered: 01/03/08
Posts: 4
we achieved multi-threaded processing by creating a plsql concurrent that spawns itself the threads (via fnd_concurrent.submit), so basically starting new requests.

Top


Moderator:  bcooper, CT 
Oracle R12.1.1 on your existing computer
Get up and running with Oracle on your existing computer in 5 minutes

Get up and running with Oracle on your existing computer in 5 minutes!

Alard Consulting Ltd are pleased to offer Oracle R12.1.1 on your existing computer.

Connect to Oracle R12 from your computer to do client demonstrations, your own development work, or test functional setup on a Vision environment without having to install and maintain Oracle.

Backup your work before making changes in case things go wrong. Just copy the files to a new directory before making the changes. If it doesn't work, copy the files back again, all from Windows. No other skills needed.

As everything is contained on a single external hard drive, you can take it with you to use wherever you need it.

For each sale from HCMAces a portion of the price will go to the running costs of this forum.

For more information see www.alard.net/products.html.

Forum Stats
492 Members
48 Forums
1207 Topics
5710 Posts

Max Online: 51 @ 12/08/10 02:30 AM
Today's Birthdays
No Birthdays
Recent vacancies
Top Posters
bcooper 944
CT 816
Geoff Dixon 354
delboy 291
SBi 288
vkumar 223
kp_rapolu 208
cbrookes 197
Gavin Harris 111
jmoyano 96
September
Su M Tu W Th F Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30