|
Forbes, Vincent wrote:
Well, I know that's not right. I pass variables from CL's all day long to programs without initializing (assigning a value) them first.Those variables {which were "NOT ADDRESSABLE"} were not passed from another program and were not used before the call. When I looked at the dump for the CL program, those variables were not there. My guess is this is a "feature" of CL. The variable must be used or initialized before passing it as a parameter, even if it is only returning a value.
I think Bob nailed it when he suggested that you might be using an older version of the CL that didn't define the parameters. If the parameters were defined in the CL (initialized or not) they would show up in the dump of the CL program.
* Jerry C. Adams *IBM System i Programmer/Analyst B&W Wholesale Distributors, Inc.* * voice 615.995.7024 fax 615.995.1201 email jerry@xxxxxxxxxxxxxxx <mailto:jerry@xxxxxxxxxxxxxxx>
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.