If your program executes both LANSA product installs and upgrades, each block of install commands must be preceded by LSISETUP and followed by LSICLEANUP. A new LSISETUP should then be issued before executing any upgrade commands.
The LANSA product install commands are:
The LANSA product update commands are:
All remaining LSI* commands must still be preceded by LSISETUP and followed by LSICLEANUP but can be mixed with the install and update commands.
For example, your program may be structured something like this:
You will find some example code in DCXISVLIB/DCXSRC