|
Parvez wrote: >[ Converted text/html to text/plain ] >Hi All, >I'm trying to use Built-in function %CHAR in my RGP IV program as described >below > >D Idx s 5u 0 >D rc s 10i 0 >........ >......... >....... >......... >C Eval rc = fputs( 'Stream 1 line: ' + >C %Char(Idx) + >C LF >C : FILE_o >C ) > >But while compiling I'm getting the following error : >*RNF0386 - The parameter for %CHAR is not valid. > >InfoSeeker says that the operand can be one of Graphics, Date, Time, >Timestamp. > >Could you please suggest me on the usage of the said function. The usage looks fine. The problem is that you're still at V4R2. %CHAR with numeric operand wasn't supported until V4R4. Upgrade, and then the %CHAR(IDX) should compile. Hans Boldt, ILE RPG Development, IBM Toronto Lab, boldt@ca.ibm.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.