Who's Online
1 registered (spiro), 3 Guests and 3 Spiders online.
Key: Admin, Global Mod, Mod
Recent Posts
Pension Schemes Setup
by kp_rapolu
Today at 03:09 PM
RBAC and Security Profiles
by CT
Today at 02:05 PM
Q: multiple assignments absence processing
by CT
Today at 12:34 PM
How managers initiates SSHR request of employees
by Saqib Rahat
Today at 09:00 AM
French Localizations
by bcooper
Yesterday at 07:11 AM
Setting up budgets in HRMS
by MarinaH
Yesterday at 06:06 AM
Attach documents in the SIT/EIT
by MarinaH
Yesterday at 03:09 AM
Talent management function in self service menu
by EBS_USER
06/09/10 11:23 PM
Basic Setup for CORE HR without Payroll
by EBS_USER
06/09/10 11:17 PM
FYI: P60s to be available in Self Service
by kp_rapolu
01/09/10 03:42 PM
Top Posters (30 Days)
SBi 31
CT 16
bcooper 15
Saqib Rahat 11
PeterP 10
EBS_USER 9
kp_rapolu 8
Geoff Dixon 8
delboy 5
MarinaH 5
(Views)Popular Topics
Family Pack K issues thread 8849
CREATE_GRADE api returns:PLS-00306: wrong number o 6175
Still trying to locate... 4660
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 4444
Review of my Release 12 laptop 4226
Log-on problems for existing users 3538
Viewing Output of another user 3261
Family Pack K 3128
October UK-OUG? 3090
HR_PF.K RUP4 2908
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: 945
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: 945
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
494 Members
48 Forums
1213 Topics
5734 Posts

Max Online: 51 @ 12/08/10 02:30 AM
Today's Birthdays
No Birthdays
Recent vacancies
Top Posters
bcooper 945
CT 820
Geoff Dixon 354
SBi 291
delboy 291
vkumar 223
kp_rapolu 211
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