|
Scott's answer seems like the right one. On to Plan B. Holden Tommy wrote:
HUH??If both fields are character why not justC eval pa_infc15 = wField4A ??? If you're trying to get the value right-justified & zero-filled then you could /free evalr pa_infc15 = %Trim(wField4A);pa_infc15 = %XLATE(' ' : '0' : pa_infc15);Thanks, Tommy Holden -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Booth Martin Sent: Monday, June 26, 2006 11:42 AM To: RPG programming on the AS400 / iSeries Subject: %int problem: invalid parameter What am I missing? What is wrong with this line? C eval pa_infc15 = %editc(%int(wField4A): 'X') Where pa_infc15 is a 20-character field and wField4A is a 4-char field. The error I am getting is: *RNF0325 30 1 The parameter for %INT or %INTH is not valid.
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.