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 |
|
Install LANSA for i |
|
Upgrade LANSA for i |
|
Install LANSA Web |
|
Install LANSA Integrator |
|
Upgrade LANSA Integrator |
|
Install LANSA Web Server |
|
Upgrade LANSA Web Server |
|
Install LANSA for i Utilities |
|
Import shipped LANSA save file |
|
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