Jon, on second thought ... First of all, you can not keep a contiguous hunk of SYSLOG (one big file for 90 days) and then expect to be able to easily delete a day's or week's worth of records. That's just not how the thing's designed. Depending on your system setup, SYSLOG is automatically broken into separate pieces when it exceeds the number of lines specified in SYS1.PARMLIB(IEASYSxx) LOGLMT=xxxxxx parameter. Instead of letting it grow to LOGLMT lines, you're much better off executing a "WRITELOG x" every 24 hours. This spins of a hunk of SYSLOG into an output dataset that you can work with and access with SDSF.
If you don't want to invest in a software package (as I stated in my first posting) and you have plenty of diskspace available to add to your existing JES2 SPOOL configuration, to store 90 days' of SYSLOGs in addition to all your other stuff and you can afford to set aside a dedicated SYSOUT class for nothing but SYSLOGs and you have SDSF (and a _huge_ SDSF ISF.HASPINDX dataset!) then you can do the following: - Set up an automatic "WRITELOG x" command every night at midnight to spin off the daily SYSLOG to the reserved output class - Show the user how to use SDSF to locate SYSLOG information by date and time: In SDSF, go to the log, use the "LOCATE hh:mm:ss mm/dd/yyyy" command to find the requested info by time and date ... slick stuff! - Finally set up an automatic purge command to purge all output from the reserved SYSOUT class that's older than 90 days: $POJOBQ,READY,Q=x,A>90 - Since everything's kept in SPOOL, there'll be no need to handle GDG datasets, tapes, etc. That'll be the cheap solution, but please don't ask me how SDSF will perform when it has to maintain 90 days of SYSLOG in the HASPINDX dataset ... it all depends on size. Which brings up the question: How many lines of SYSLOG do you create in a day? (We're cranking out around 750,000 to 850,000 lines per day and that's why we offload from SPOOL to a SYSOUT Archiver software package.) HTH Regards, Ulrich Krueger Mainframe Systems Services National Semiconductor Corp. Santa Clara, CA 95051 Tel: (408) 721-8071 Email: [EMAIL PROTECTED] ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html