|
Deepak, Define two Character strings: 1. A-Z (all in uppercase),say, UC 2. a-z(all in lower case), say, LC. Then use 'XLATE' for the variable to change to Uppercase using above strings. LC:UC XLATEVARIABLE RESULT 90 You can see the example in RPG/400 Reference Manual for Opcode XLATE(Translate). Thanks, Rajeev Asthana. From: Sharma Deepak <deepak.sharma@kiosk.ch> To: "'query'" <RPG400-L@midrange.com> Subject: How to print upper case ? Date: Tue, 15 Dec 1998 11:30:47 +0100 Reply-To: RPG400-L@midrange.com Hi all, Is there any way to print a character string in UPPER case letters only ? I am looking for any keyword in either printer files or some other way in program ? Regards Deepak Sharma * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the RPG/400 Discussion Mailing List! To submit a new * * message, send your mail to "RPG400-L@midrange.com". To unsubscribe * * from this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe RPG400-L' in the body of your message. Questions should * * be directed to the list owner / operator: david@midrange.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the RPG/400 Discussion Mailing List! To submit a new * * message, send your mail to "RPG400-L@midrange.com". To unsubscribe * * from this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe RPG400-L' in the body of your message. 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.