Appendix B. LSI* Commands

LANSA supplies a specialized set of commands to support the automated installation and upgrade of LANSA products and the installation of LANSA-written applications.

This allows a CL program to be written to encapsulate the installation and/or upgrade of LANSA products and importing of a LANSA application.

Refer also to User Profiles

Note: If you using Independent Auxiliary Pool Groups (IASPs) then this command assumes that you have a working knowledge of IASP.
Refer to the LSISETUP command command for details.

Following is the list of commands that are provided to support the silent installation or upgrade of LANSA and LANSA based applications. You can bypass the use of these commands using the LANSAINS or LANSAUPD commands.


Create work environment – must be run before other commands

LSIINSTALL - LANSA for i Installation

Install LANSA for i

LSIUPDATE - LANSA for i Update

Upgrade LANSA for i

LSIWEBINS - LANSA Web Installation

Install LANSA Web

LSIINTINS - LANSA Integrator Installation

Install LANSA Integrator

LSIINTUPD - LANSA Integrator Upgrade

Upgrade LANSA Integrator

LSIWSVINS - LANSA Web Server Installation

Install LANSA Web Server

LSIWSVUPD - LANSA Web Server Upgrade

Upgrade LANSA Web Server

SIOSUINS - LANSA for i Utilities Installation

Install LANSA for i Utilities


Import shipped LANSA save file

LSIPARTCRT – Create a Partition

Create a Partition


Clean-up work environment – must run after install or upgrade set

All commands validate the command parameters, send appropriate messages to the program message queue and return a status code indicating the success or otherwise of the requested action. Any messages can be picked up programmatically.

Most of the parameters you would be able to set in a custom installation are available on the new install and upgrade commands.

The install commands will create the appropriate LANSA data areas, as is done in a normal Custom install. Any upgrade commands will refer to and update these LANSA data areas accordingly.

Also see

Example of LANSA LSI* command use

How to use the LSI* Commands