|
Maybe your are experiencing activation group creation overhead. By default ILE program will run in a *NEW activation group. So if A calls B many times, every time new activation group is created. Try changing B to run ina *CALLER activation group, this should be much faster. Best regards, Alexei Pytel > -----Original Message----- > From: Steven Easton [SMTP:seaston@ionet.net] > Sent: Thursday, October 22, 1998 1:26 PM > To: MIDRANGE-L@midrange.com > Subject: Call in ILERPG response time slow > > 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. > > > Steven Easton > seaston@ionet.net > Midrange Systems Design > http://www.ionet.net/virtual/dpma/ > Century Martial Art Supply > http://www.centuryma.com/ > > > +--- > | 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 > +--- +--- | 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 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.