|
>> But I get RNF0341: Parameter JRNRCV for %ADDR is not valid; %ADDR is ignored. >> I'm thinking the difference in mine is because I am using the const on JrnRcv. Nope - it would be a problem if you used a real old version (prior to V4R4?) - but you don't so that is not the problem. The problem is that you can't use the address of a parm as an initialization value since by definition the parm may have a different address on each call. You could however have coded: pInput = %addr(JrnRcv); AS the first line of the procedure logic. Jon Paris Partner400 www.Partner400.com www.RPGWorld.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.