Page History
...
A flag field in the system definition data area DC@A01 must be set to indicate that the exchange capability is required. Refer to The System Definition Data Area DC@A01 in the LANSA for i User Guide.
...
- A LANSA function places a call to an RPG/COBOL/etc program via the RDML CALL command. Since this program wishes to access the exchange list, the PGM_EXCH(*YES) parameter is used. This may be an RDML or RDMLX function, but only RDML fields can be exchanged. Refer to the CALL command for further information.
- The RPG/COBOL/etc program receives control.
- It calls M@EXCHL to "GET" details from the list.
- It calls M@EXCHL to "CLR" the list.
- It does whatever processing is required.
- Then it calls M@EXCHL to "PUT" details back onto the list.
- Control returns to the LANSA function, and details from list appear and are processed just like an exchange via the exchange list with another LANSA function.
...