Hi All,



I have a variable in a RPGLE that Im initializing with a hexadecimal value
(Numeric 11).



D output s 10a Inz(x'000B')



When I specify a static hexa value (Like above) it works perfectly but what
I want is to move variable numeric values in hexadecimal form to this
variable.



Below procedure gives me the hexa value but in a character format which is
not what I want.



cvtToHex(Output: Size: %size(Output));



Does anyone know how to move a numeric in hexa form to a variable ?



Thanks for your time



Regards

Janith





<p style="font-size:10px;">
We are committed to protecting the privacy of the personal information you may provide to us by ensuring your e-mail address and any other personal information about you will only be disclosed to relevant staff and contractors and used for the purpose of responding to a request or to carry out instructions. We will not sell or give your e-mail address to anyone else. Please be aware that e-mail is not necessarily secure against interception so you should only send information necessary for us to provide you with the assistance you require.

This transmission or any part of it is intended solely for the named addressee. It is confidential and may contain legally privileged information. The copying or distribution by any person other than the named addressee is prohibited. If you have received this transmission in error, please reply by e-mail to the sender.

This email message has been swept for the presence of computer viruses.
</p>

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 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].