1 2 3 Rules for using the LSI Commands

Deploy LANSA Applications on IBM i

1.2.3 Rules for using the LSI* Commands

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:

LSIINSTALL

LSIINTINS

LSIWEBINS

LSIWSVINS

The LANSA product update commands are:

LSIUPDATE

LSIINTUPD

LSIWSVUPD

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:

For Install

LSISETUP

LSIINSTALL

LSIWEBINS

LSIINTINS

your application

LSICLEANUP

For Upgrade

LSISETUP

LSIUPDATE

your application

LSICLEANUP

You will find some example code in DCXISVLIB/DCXSRC

Ý 1.2 Create an Application Install Program