× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



we use data queues and a driving program(s).  PGMA reads the incoming record
and distributes it to DTAQ0 to DTAQ9 based on the last digit of the account
number, asynchronously PGM0 to PGM9 process the records from its respective
DTAQ.  In this manner stuff is processed FIFO within account number.  The
dtaq's are the same, the pgm's are the same with just a parameter for the
last digit so it can build the dtaq name.  The driver program can be blocked
up to do sequential reads in many cases.  You can easily vary the number of
parallel processes between even/odd, 1 digit precision, two digit precision,
etc.  Waits on a dtaq that hasn't got a record in it don't hurt you.  We've
got a 4-way 820, split the slot machine transactions from 6 casinos into 10
processes each and we can meet millisecond response times required.

The setup is pretty easy, pretty fast and hey -- sometimes you need the 4
minutes!

-----Original Message-----
From: sas [mailto:sas@toto.co.id]
Sent: Wednesday, January 15, 2003 2:05 PM
To: rpg400-l@midrange.com
Subject: High Performance parallel run programming


Dear all ,
Does anyone on the list has any experience doing parallel run programing ?
background :
suppose we have one million record should be read and it will take ex. 5
minute , so if we want the job to be done in 1 (one ) minute, so we should
run pgm1( to read record 1-200),pgm2 ( to read record 201-400)  and so on
until pgm5( to read 801-1000) and all the programs should be run on the same
time .
Would you be so kind share the experience .
Thank you
Regards,
Sas

**************************************************************
Scanned by  MailScan Content-Security and Anti-Virus Software.
Visit http://www.mwti.net for more info on eScan and MailScan.
**************************************************************

_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo.cgi/rpg400-l
or email: RPG400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.