× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 08-Nov-2014 09:18 -0600, Steve Richter wrote:
your code should work. You can use CHGVAR to convert between
character and decimal. <<SNIP>>


For the archives: The OP noted [in an appropriate forum] that the issue arose from a user-error\coding-error; i.e. the code that was claimed not to have functioned properly, had never even ran, thus the /conversion/ properly was _not_ effected:
<http://archive.midrange.com/midrange-l/201411/msg00252.html>

But as I stated both on this forum and the other, there would be no reason to perform that conversion in the given scenario, because the CLP accepts a *CHAR variable on the command parameter defined to accept an INTEGER data type. The character variable could have been used directly in the noted context, so any conversion would have been superfluous; the additional declaration and the Change Variable both could have been omitted from the CLP source.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.