× 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: Mapped LDA - ILE common variables
  • From: "James W. Kilgore" <qappdsn@xxxxxxx>
  • Date: Thu, 08 Jan 1998 00:57:32 +0000
  • Organization: Progressive Data Systems, Inc.



Jon Paris wrote:

> >> "Now that we are going to ILE where we can have common/local variables, we
> are
> thinking of having the users signon to a shell menu program which basically
> declares EVERY variable from EVERY application file as common variables.  Any
> thoughts on that one?" <<
>
> Seems like overkill to me, not to mention hazardous to your health.  I don't
> know the exact "cost" of doing this but there is some performance hit due to
> the fact that every program except the EXPORTer is referencing every variable
> indirectly.  Comp-Sci purists will also have fits over the fact that any
> variable can be changed anywhere _without_ being passed as a parameter etc.
> The potential for unwanted side-effects is truly horrible.

Should have been clearer.  Not EVERY variable, just the value of the last record
read from any file used within a given application.  Each program would only
manipulate local variables.

Under the RPGIII call structure we were faced with passing key values and having
the called program do another chain or passing a slew of parameters.  We opted 
for
passing the key values and rechaining cause one never knows when another value 
from
the file may be needed.  Although the odds are that the record is already in 
cache
and we used a shared ODP it just didn't feel good.

Thanks for the feedback.

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@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.