Common Romandie
RPG IV - Common Romandie
RPG IV - Common Romandie
- No tags were found...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
CALLPRC - appel de procédure (CLP ILE)Le CLP en ILE (ou CLLE sous PDM) permet d’appeler des procédures etfonctions exportées par d’autres modules ou des SRVPGM.DCL VAR(&SECS) TYPE(*UINT) LEN(4) VALUE(5)DCL VAR(&RET) TYPE(*UINT) LEN(4)/* Appel de la fonction C : sleep() */CALLPRC PRC('sleep') PARM((&SECS *BYVAL)) RTNVAL(&RET)Avec CALLPRC il est ainsi possible d’appeler nos propres procédures (enRPG ou autre) mais également les fonctions C et UNIX !Experia Europe 36 <strong>Common</strong> <strong>Romandie</strong> 15/06/2010