1.3 The 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.
Following is the list of commands that are provided to support the silent installation or upgrade of LANSA and LANSA based applications:
Create work environment – must be run before other commands |
|
Install LANSA for i |
|
Upgrade LANSA for i |
|
Install LANSA for the Web |
|
Install LANSA Integrator |
|
Upgrade LANSA Integrator |
|
Install LANSA for the Web Web Server |
|
Upgrade LANSA for the Web Web Server |
|
Install Open System Utilities |
|
Import shipped LANSA save file |
|
Partition Initialization |
|
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.