Staged Compilation in a Production Environment
This scenario assumes that you have new or customized programs that you want added to your production product line environment. It also assumes that your production product line needs updating with patches or new software releases. The recommendation in this case is to combine the deployment of customized programs with the update process. This can save on the overall time needed for compiling, especially if the programs you have customized are ones that invoke other existing programs. If this is not the case, you could use the staged compilation process described for a development environment in order to move your customizations into the production product line environment.
- Download the patches or new release software for your product line.
-
Run
lawappinstall
with the UPDATE directive. - Move your customization source code into the product line source code directories.
-
Run
lawappinstall
with the STAGE directive. This will set the product line status to staged mode and will compile all of the programs except the new ones that you have created at your site. - Compile your programs with the -A option using one of the standard compile utilities.
-
Run
lawappinstall
with the ACTIVATE directive.