|
On Wed, 23 Mar 2005 18:07:31 -0800, Dave Murvin <davem@xxxxxxxx> wrote:
> I have been looking through the archives for information on converting
> characters to hex. I found several sample prototypes such as the following
> from Barbara Morris:
>
> D cvthex1To2 Pr Extproc('cvthc')
> D longReceiver * Value
> D shortSource * Value
> D receiverBytes 10i 0 Value
>
> D cvthex2To1 Pr Extproc('cvtch')
> D shortReceiver * Value
> D longSource * Value
> D sourceBytes 10i 0 Value
>
> What I have not been able to find is where these procedures are documented
> so I can figure out how to use this type of procedure (and other C function
> procedures) myself. When I search the Info Center for the Convert
> Character to Hex procedure, what I get is the following, which does not
> look like the prototypes to me.
try this Dave
http://publib.boulder.ibm.com/iseries/v5r1/ic2924/tstudio/tech_ref/mi/index.htm
to get an idea of how to prototype these functions in rpg, look at the
qsysinc/mih source file. There is an include source member for each
of the MI instructions.
-Steve
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.