Unless, of course, the builtin is NOT usable - Mark's reply led me to look again - I see some that do not have bound program access sections, but they are still usable - maybe they are exposed through the service program. Haven't investigated this thoroughly, no time.

Vern

On 3/9/2011 8:10 AM, Vern Hamberg wrote:
That's a good site - but it does not seem to have either of the
functions that Larry is looking for.

I guess I just suggest to Larry to put an underscore in front of the
names and build his own prototype from the documentation. The builtins
seem to be usable.

HTH
Vern

On 3/9/2011 7:25 AM, Schmidt, Mihael wrote:
Perhaps this site helps a bit:

http://i5toolkit.sourceforge.net/rpg/index.html

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Larry Ducie
Sent: Wednesday, March 09, 2011 1:21 PM
To: RPG400
Subject: Can we bind to CVTCN and CVTNC in RPG?


Hi All,

Is it possible to bind to CVTCN and CVTNC in a RPG program?

I understand that they are MI functions but QC2UTIL1 exports a version of CVTHC (cvthc) and CVTCH (cvtch) and CVTEFN is available to RPG as _CVTEFN.

Does anybody know if it is possible to access CVTCN and CVTNC from RPG? The API finder offers a multitude of APIs and it can be a challenge to find out which are offered by the system, which are offered as part of the C runtime libraries (and therefore available to ILE RPG) and which are MI functions that are not directly accessible to RPG.

Cheers

Larry Ducie




This thread ...

Replies:

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

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