4.3.13 -save, -sv, (-save=manual_adjust)

The -save switch 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_adjust , 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. This is not affected by the -[no]recursion switch.

The effect of -save=manual_adjust depends on the [no]recursion setting:

The effect of -save=all_adjust depends on the [no]recursion setting:

With -recursion , this is the same as -save=all :


Previous Page | Next Page | Contents | Index |
Command Line Switches