It probably ought to close console files only lest it mess up some application. 
Even then, it should probably restrict the machines whose consoles it closes to 
a list of known servers for the same reason.


Regards,
Richard Schuh





________________________________
From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf 
Of Kris Buelens
Sent: Wednesday, March 23, 2011 1:55 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: SFPURGER problem

Spool files get as timestamp the time they are opened, not when they are 
closed.  My SFPURGER had an exception for OPERATNS: never delete anything.  
Stronger: when one of my 20 VM systems had a NOHOLD dump in its reader, I got 
an email sent to my reader.

This is a good reason to implement some automation that closes spool files 
around midnight for example.  With the example below: if you don't close 
CONSOLE files and VM runs longer than 60 days, right after the first IPL, all 
consoles look "old" and get purged.  I've got such an EXEC for those who want 
it.

2011/3/23 Frank M. Ramaekers 
<framaek...@ailife.com<mailto:framaek...@ailife.com>>
I just had a major problem with this program.   Last night we took a CP hit and 
a CPDUMP was created.  I found out this morning that SFPURGER had deleted it, 
although:

***********************************************************************
* Ignore any spool files found in the NSS queue (privilege class E)
QUEUE NSS                                         ACTION IGNORE

* Keep spool files owned by maintenance user IDs
USERID MAINT*                                     ACTION IGNORE

* Purge dump files after 4 weeks.  Ignore the rest
TYPE DMP     DAYS 29                              ACTION PURGE

* If user hold +15 day otherwise delete after 30 days
QUEUE RDR    DAYS 60          HOLD USER           ACTION PURGE
QUEUE RDR                     HOLD USER           ACTION IGNORE
QUEUE RDR    DAYS 30                              ACTION PURGE
QUEUE RDR                                         ACTION IGNORE
Yet,

**                                **                                  *
**                        SFPURGER Run File                           *
**         Created by z/VM  5741-A05    23 Mar 2011   00:01:33        *
**                         VMUTIL at MKMFVM                           *
**                                **                                  *

Reason code 1 QUEUE NSS ACTION IGNORE.
Reason code 2 USERID MAINT* ACTION IGNORE.
Reason code 3 TYPE DMP DAYS 29 ACTION PURGE.
Reason code 4 QUEUE RDR DAYS 60 HOLD USER ACTION PURGE.
  :
  :
SFP100I   PURGE     OPERATNS  RDR       0001      Reason    003       IOV100    
  HCPDUMP
SFP100I   PURGE     OPERATNS  RDR       0002      Reason    003       CPDUMP    
  CPDUMP
  :
  :

QUERY from last night:

q rdr operatns all
ORIGINID FILE CLASS RECORDS  CPY HOLD DATE  TIME     NAME      TYPE     DIST
SYSTEM   0002 D SYS 00098846 001 NONE 03/22 21:29:48 CPDUMP    CPDUMP   IOV100
SYSTEM   0005 D SYS 00000190 001 NONE 03/22 21:29:48 IOV100    HCPDUMP
SYSTEM   0004 D SYS 00000189 001 NONE 03/22 20:45:29 IOV100    HCPDUMP
SYSTEM   0003 D SYS 00000216 001 NONE 03/22 20:45:29 IOV100    HCPDUMP
SYSTEM   0001 D SYS 00000190 001 NONE 03/22 20:45:29 IOV100    HCPDUMP



 Frank M. Ramaekers Jr.






Systems Programmer


MCP, MCP+I, MCSE & RHCE




American Income Life Insurance Co.


Phone: (254)761-6649




1200 Wooded Acres Dr.


Fax: (254)741-5777




Waco, Texas  76701







_____________________________________________________ This message contains 
information which is privileged and confidential and is solely for the use of 
the intended recipient. If you are not the intended recipient, be aware that 
any review, disclosure, copying, distribution, or use of the contents of this 
message is strictly prohibited. If you have received this in error, please 
destroy it immediately and notify us at 
privacy...@ailife.com<mailto:privacy...@ailife.com>.



--
Kris Buelens,
IBM Belgium, VM customer support

Reply via email to