I am guessing that this is a syslogd log file? If so, you will want to configure /etc/syslog.conf to automatically clear or archive this file. See the z/OS Comm Server IP Configuration Guide and Reference manuals for more information.
Kirk Wolf Dovetailed Technologies http://dovetail.com On Thu, Jul 3, 2014 at 12:37 PM, Fred Kaptein <[email protected]> wrote: > Hello, > We have a mainframe system running z/OS R1.13. > We have the following USS file mounted to a MVS data set > \tmp\daemon.log.b > > This file has grown very large over time, as it is not being cleared out > on a regular basis. > What commands can we issue during a shutdown of our z/OS system that would > do the following: > - clear all but the previous 30 days data > - clear all data > > If possible, we want to clear this USS file out when z/OS is being shut > down, so that it will be clean during the next IPL. > We do not want to effect the USS file permissions nor the MVS data set. > > Any suggestions would be appreciated. > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
