On Wed, 30 Jan 2013 19:02:25 -0800, Phil Smith wrote: >We have a started task running. It has various SPOOL files open, to which it's >writing - SYSPRINT et al., including SYS00001. We have a LOG SPIN command, >which can close SYS00001; subsequent output to that DD then goes to SYS00002. > >Should we then be able to purge the SYS00001? It's closed - nothing is writing >to it. but P in SDSF says "INVALID COMMAND". > >This is an issue because the whole point of doing a LOG SPIN is to be able to >purge the closed piece of the log. What am I missing? Is there a way to purge >the file? > Use UNIX files instead of spool. You can do whatever you want to them whenever you want (subject to permissions, ACLs, etc.)
There's a venerable UNIX convention of (mis-)using SIGHUP to indicate to a background process that it should close and reopen its parameter files, logs, etc. MODIFY could work as well. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
