The /save
qualifier tells KAP whether to perform live
variable analysis to determine if the value of a local scalar
variable in a subroutine or function needs to be saved between
invocations of the routine being processed. SAVE statements will
be generated for any variables requiring them. KAP will not delete
or ignore a SAVE statement coded by the user.
Saving local variables may be required for correct execution of the program, but can restrict KAP optimizations.
With /save=manual
, KAP assumes you have inserted
the necessary SAVE statements into the code and performs no
corresponding analysis of its own. The user-written SAVE statements
are assumed to be correct and sufficient.