This following is a sample iSeries itoa C function:

H dftactgrp(*no) bnddir('QC2LE')                       
D itoa            PR              *   ExtProc('__itoa')
D    int                        10I 0 Value            
D    buf                          *   Value            
D    rdx                        10U 0 Value            
D string          S             20a   inz(*all'x')     
/free                                                 
itoa(12345: %addr(string): 10);                    
dsply ('|' + string + '|');                        
*inlr = *on;                                       
/end-free
Still have questions? We can help. Submit a case to technical support

Last Modified On:
You don't have the appropriate permissions.
No, open a new Support Case