How to limit the number of retained strategy execution results in CA Log Analyzer.

Document ID : KB000023997
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

Is there a Profile or PARMLIB option to limit the number of saved strategy execution results for CA Log Analyzer for DB2 for z/OS (PLA)?  Require capability to control the number of strategy execution results retained by PLA.

 

Answer:

From the Log Analyzer - Strategy Services panel when you use the S line command to Submit the strategy you should see the following at the bottom:

UPDATE OPTIONS
Report Options ==> N (Y/N) Output Options ==> N (Y/N)
Source Options ==> N (Y/N) Retention Options ==> N (Y/N)

With the Retention Option, you can use it to help limit the number of retained executions of the strategy.

Choose Y for Retention Options and you will be brought to Output Retention Menu:

=====================================================================
LASTRET Rnn.n ------ Strategy Services - Output Retention -----
COMMAND ===>
Enter SAVE to save settings in ISPF profile, End/PF3 to continue.
RETENTION OPTIONS FOR PRIOR RUNS
Retain ALL__ (ALL or 0 - 32767) Most Recent Execution Results.
Scratch Output Datasets ==> N (Y - Yes, N - No)
======================================================================

On this menu, you can specify the number of execution results you would like retained.

The Log Analyzer control cards will then be needed to be regenerated with the retention options card RETAIN:

For example, the results will be saved for 25 runs:

STRATEGY = (ssid,userid,PLATEST,
RETAIN(25,SCRATCH))