stgcmp - Application Staged Compilation

stgcmp [-t] init|validate|deploy|revert|status|list productline

The Application Staged Compilation utility (stgcmp) controls whether a product line uses staged compilation or not. Staged compilation enables you to reduce the downtime for a product line when you have programs or other objects that need compiling. With staged compilation, the programs or other changed objects are compiled but not moved directly to the runtime production environment. Instead the objects are placed in a stgcmp directory and you can deploy them to the runtime environment as a separate step.

The stgcmp utility is best used in a test or development environment as a convenient way to set the test or development product line to the staged mode, and then deploy all compiled programs when it is convenient. In a production environment, the lawappinstall tool is the appropriate utility to use to handle the updating, compilation, staging (if desired), and then activation of the changes that are delivered through a patch or a new release. See the Lawson Enterprise Applications Installation Guide for information on how the lawappinstall tool works with staged compilation.

Option or Parameter Description
t Terse screen output. Minimizes output display.
init The init option initializes or prepares the product line for staged compilation. After stgcmp has been run with this option, all compilations will by default be compiled to the stage directory rather than to the runtime environment. When you run stgcmp with the init option, you should have no active compiles in the queue.
validate The validate option checks if staged runtime objects are valid and ready for deployment to the runtime environment.
deploy The deploy option moves the staged runtime objects to the runtime environment. Existing runtime objects are overwritten. It also resets the compilation mode to direct compilation to production.
revert The revert option deletes staged artifacts from the stage directory and resets the compilation mode to direct compilation to production.
status The status option shows you the current staging status for the product line.
list The list option lists the programs that are staged for a product line.
productline The product line that you are applying a staged compilation action against.