4.3 Calling Processes
A LANSA process is called with five parameters similar to this:
In RPG/400
CALL 'PRONAME'
PARM DC@IDS
PARM DC@EDS
PARM PRNMIN
PARM PR@IDS
PARM DUMMY1
In Control Language
CALL PGM(PRONAME) +
PARM(&DC@1DS &DC@EDS &PRNMIN &PR@IDS @DUMMY1)
where:
PRONAME |
Is the process object name |
DC@IDS |
System information A(1024) |
DC@EDS |
Extra System information A(2500) |
PRNMIN |
Process name information A(14) |
PR@IDS |
Process Information A(5000) |
DUMMY1 |
Dummy parameter A(1) |
For information about these parameters, refer to 4.5 Access to LANSA Data Structures.