Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

...

  1. 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.
  2. The RPG/COBOL/etc program receives control.
  3. It calls M@EXCHL to "GET" details from the list.
  4. It calls M@EXCHL to "CLR" the list.
  5. It does whatever processing is required.
  6. Then it calls M@EXCHL to "PUT" details back onto the list.
  7. 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.

...