|
Your interface is now split between parameters and a data area. A
parameter block tends to be what is known as a "hardened interface".
Stuff coming from a data area, or other source, tends to just be
stuff. You'll think it's under your control because it's in QTEMP and
it's set just before the call and it's used immediately by the
caller, etc. etc. but it's just not a good idea. Sure, it solves the
problem but not in a good way.
Fundamental problems are:
1) The dichotomy between sources of input
2) The size limit of a data area is considerably less than a
parameter
3) Future requirements: additional values, different data types,
etc.
My opinion is that while this approach will solve your immediate need
it is likely to bite you in the arse in the future.
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.