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


  • Subject: Re: Call in ILERPG response time slow
  • From: Jerry Keppler <kepplerj@xxxxxxxxxxxxxxxxxxxxx>
  • Date: Thu, 22 Oct 1998 08:42:01 -0500
  • Organization: Pattonville School District

Steven Easton wrote:
> 
> When I converted some RPG 3 programs to RPG 4, the pop up screens response
> time went from sub second to 14 seconds.  Program A CALLs program B, both
> ILE.  This response time is true weather it is the first time program is
> CALLed or the 10th time.  Program B load sub second when it is CALLed from
> a command line.  When program A CALLs program B, they are on different
> invocation levels.  When program B is CALLed from a command line, it is
> only 1 invocation level.  This is on a  AS400 model 600, runing OS v4r7,
> with nothing else running.
> 
> My question is, how can I improve response time without converting to
> CALLB.  I write many small programs instead of 1 large program.  The CALLB
> adds extra programming overhead that I would like to avoid.
> 

This sounds like it may be a performance tuning issue.  ILE objects are
larger than OPM objects. Maybe you need to increase the size of your
interactive memory pool?

A couple of other suggestions.

When your program B returns to program A, return with *INLR=*Off.  You
will pay a   performance price on the first call, but later calls will
be quicker.  Just remember that when program A is ready to end, you
should call program B and tell it to end also. That means that you need
another parameter in program B.

or
  
Make program B a service program.  It will take a little longer for
program A to   start, but calls to program B will be very fast.  With
this method, you won't be able   to call program B from a command line,
unless you create another program to run from   the command line that
invokes the program B service program. 


__________________________________________________________
Jerry R. Keppler      Pattonville School District
Computer Programmer   11097 St. Charles Rock Road
(314) 213-8045 Voice  St. Ann, MO 63074-1509
(314) 213-8650 Fax    mailto:kepplerj@pattonville.k12.mo.us
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-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 ...

Replies:

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.