|
IBM didn't "fix" %CHAR until V4R4 when that added numeric to the list of data types that it would convert to character. I believe there's a PTF for V4R2 to fix it there as well. Bob Cozzi cozzi@rpgiv.com Visit the new on-line iSeries Forums at: http://www.rpgiv.com/forum > -----Original Message----- > From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com] On > Behalf Of Parvez Mirza > Sent: Thursday, September 06, 2001 8:59 AM > To: RPG400-L@midrange.com > Subject: %CHAR in RPGIV on V4R2 > > [ 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. > > Thanks, > Parvez > > ------------------------------------------------------------------------ ------ > Get your FREE download of MSN Explorer at http://explorer.msn.com[1] > > ===References:=== > 1. http://go.msn.com/bql/hmtag_itl_EN.asp > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l > or email: RPG400-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l.
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.