|
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. Vincent Forbes CIBC Toronto, Ontario -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Bob Cozzi Sent: May 4, 2006 3:02 PM To: 'RPG programming on the AS400 / iSeries' Subject: RE: *Entry to /Free problem That shouldn't make any difference unless those variable where also CL program parameters and passed to that CL program by another program or command entry and do not have the same storage allocations as the definitions in your CL or RPG program. If this is true, you're probably, now, corrupting memory. -Bob Cozzi www.RPGxTools.com RPG xTools - Enjoy programming again. -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Forbes, Vincent Sent: Thursday, May 04, 2006 1:50 PM To: RPG programming on the AS400 / iSeries Subject: RE: *Entry to /Free problem Solved. I initialized all the passed variables {to blanks} in the CL & the program now works with or without the extpgm(). Vincent Forbes CIBC Toronto, Ontario
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.