× 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.




Thanks Vern and Mark,

I have 3 options I guess:

1) Use CVTEFN for char-to-numeric conversion and use QECCVTEC & QECED for numeric-to-char conversion
- Which I have working but just don't like it.

2) Build/Deconstruct my numeric values to/from HEX values and use cvtch/cvthc to convert to/from char

3) use %dec() and %char to convert char to/from a known numeric (63,p 30 say) and then use LBCPYNV to perform the conversion to/from the numeric of variable type/scale/precision

I think I prefer option 3 as it uses the least number of working parts.


BTW, this is so I can call a program using a prototype definition in XML (similar to PCML but with full datatype support). This will enable me to define and execute a call to a program within a running XMLi template.
Cheers

Larry Ducie



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.