|
Dcl &mychar *char 3 Dcl &mynum *dec (3 0) Chgvar &mynum &mychar Thanks, Tommy Holden -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of praveen gunda Sent: Friday, July 28, 2006 9:05 AM To: RPG programming on the AS400 / iSeries Subject: Calling a procedure from CLLE Hi all, I have a variable of *CHAR(3) in CLLE. I need to convert it into decimal 3,0 in order to call an external procedure. How can I do it? I really do not want to change the procedure to accept char(3) and convert it into a decimal as this is used in a lot of places. Any help is greately appreciated.
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.