5.37.5 Troubleshooting
The FILE keyword is still supported on the READ and WRITE commands for compatibility with earlier version of LANSA Integrator, however it is recommended that you use the following structure for any new development:
- To READ from a spreadsheet (the OPEN keyword MODE is *READ by default):
OPEN FILE(ABC.XLS)
READ
CLOSE
- To WRITE to a spreadsheet:
OPEN FILE(ABC.XLS) MODE(*WRITE)
WRITE
CLOSE