4.4 Calling Functions
A LANSA function has three standard parameters similar to this:
In RPG/400
CALL 'FUNNAME'
PARM DC@IDS
PARM DC@EDS
PARM PR@IDS
In Control Language
CALL PGM(FUNNAME) +
PARM(&DC@IDS &DC@EDS &PR@IDS)
where:
FUNNAME |
Is the function object name |
DC@IDS |
System information A(1024) |
DC@EDS |
Extra System information A(2500) |
PR@IDS |
Process Information A(5000) |
For information about these parameters, refer to 4.5 Access to LANSA Data Structures.