#!/bin/ksh ################################################################# # jobhistmaint - runs deljobhst with options to: # c Delete Completed Jobs # r Delete Batch Reports # v Verbose # 'currdate' - X => Deletes only jobs and print files older than seven days. # Need to run this as a script as the Lawson parameter screen does not # allow enough room to use the 'currdate ' - X option! # J. David Schronce ################################################################# MINUS_DAYS=120 deljobhst -crv 'curdate' - $MINUSDAYS