install_path\VERITAS\NetBackup\bin\admincmd\
echo KEEP_JOBS_HOURS = 192 | bpsetconfig
Where 192 is the number of hours that all jobs (both successful and unsuccessful) will be kept in the jobs database (or Activity Monitor display).
To retain only successful jobs, enter:
echo KEEP_JOBS_SUCCESSFUL_HOURS = 192 | bpsetconfig