× 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.



If you are concerned about speed, take the guts of the callable programs and
convert to procedures.  Put all these procedures into a service program.
Add the service program to a binding directory.  Now for ease and backward
compatibly, re-create the callable programs to use the modules.  Keep the
parms the same and the other program will never know the difference.

Now your program that will be processing the 200,000 records you want to
change to use the procedures directly.  This will greatly increase the speed
of the calls.

It is a lot of work, but you can tackle one program at a time.  I suggest
the programs that get call twice, #C or #E.


Have fun,



Christopher K. Bipes     mailto:ChrisB@Cross-Check.com
Sr. Programmer/Analyst   mailto:Chris_Bipes@Yahoo.com
CrossCheck, Inc.         http://www.cross-check.com
6119 State Farm Drive    Phone: 707 586-0551 x 1102
Rohnert Park CA  94928 Fax: 707 586-1884

If consistency is the hobgoblin of little minds, only geniuses work here.
Karen Herbelin - Readers Digest 3/2000


-----Original Message-----
From: Brian Stapleton [mailto:Brian.Stapleton@diverseylever.com]
Sent: Tuesday, July 11, 2000 4:16 AM
To: rpg400-l@midrange.com
Subject: CallB, CallP --> Help


Greetings All;
I'm pretty green when it comes to this kind of stuff, so please be gentle. 
Here's the problem.
Program #A will be processing about 200,000 records.  Based upon some of the
criteria in the record it may call program #B, which will in turn call
program
#C twice.  Or, it may call program #D which in turn will call program #E
twice.
 (Costing stuff)
I'm not familiar with CallB, and CallP, but I want to increase the speed of
the
call's.  All programs are RPGLE.  
Thanks in Advance
Brian
Brian Stapleton
Information Services
DiverseyLever Institutional
A Div of DiverseyLever
Brian.Stapleton@diverseylever.com
(248) 304-3553
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.