|
Hello Bruce, It didn't occur to me that braces would be variant. It does make sense but I assumed '}' would be invariant because of its position. So, while doing this would be OK if the character value were being passed from a HLL program compiled under code page 37, it would not work from CL which will interpret the code points at runtime. Correct? And, of course, it would work from the command line provided the programmer knew what character was represented by X'D0'. And it would change depending on installed national language and device description keyboard type. Correct? Regards, Simon Coulter. «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«» «» FlyByNight Software AS/400 Technical Specialists «» «» Eclipse the competition - run your business on an IBM AS/400. «» «» «» «» Phone: +61 3 9419 0175 Mobile: +61 0411 091 400 «» «» Fax: +61 3 9419 0175 mailto: shc@flybynight.com.au «» «» «» «» Windoze should not be open at Warp speed. «» «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«» //--- forwarded letter ------------------------------------------------------- > Date: Thu, 20 Jan 00 12:02:26 -0600 > From: bvining@vnet.ibm.com > To: RPG400-L@midrange.com > Reply-To: RPG400-L@midrange.com > Subject: Entry Parameters > > > > >Negative values aren't a problem either. > > > > CALL PGM(JIMCONEX/CHGAPOPEN) PARM('5J' '99011}' '5J' '00012}') > > > >will pass all the values as negative numbers. > > > > Actually negative values can be a problem. The '}', which I assume is > intended to represent a negative value of 0, is variant and can, > depending upon your current keyboard, come into the system as X'DC' > (German 273), x'47' (Danish 277), x'54' (Italian 280), etc. For these > code pages the user would need to enter Latin small letter u with > diaeresis, latin small letter a with ring above, and latin small letter > e with grave respectively. > > Bruce Vining > > > > +--- > | This is the RPG/400 Mailing List! > | To submit a new message, send your mail to RPG400-L@midrange.com. > | To subscribe to this list send email to RPG400-L-SUB@midrange.com. > | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: david@midrange.com > +--- > +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.