On Tue, 17 Jun 2014 13:49:06 -0700, Skip Robinson <[email protected]> 
wrote:

>. The only humongous (EF)
>ZFS I've created was for ServerPac work space, and I started with an empty
>volume. 

My largest zFS is a single SMPNTS data set in one of my sysplexes shared
by all the tech teams.   It is 4 3390-9 volumes.   It is also where I download
electronic Severpac deliveries.   I clean it up with CRON + Skulker and a
shell script (I "borrowed" and modified) to delete empty directories:


# Execute /SMPNTS1 cleanup every Friday at 05:45                                
# All files over 90 days old are deleted.                                       
#                                                                               
#  1) The first command is the skulker command to remove the old files          
#  2) The second command (rmemptydir) removes empty directores                  
#     from /SMPNTS1 at 05:50 am.  This is needed because                        
#     skulker updates the last reference date of the directories                
#     so it never gets rid of the empty ones.                                   
#  3) The third command does a "touch" to /SMPNTS1/@readme.txt to update the    
#     reference date so skulker will not delete it in the future.               
#                                                                               
45 05 * * 5 /etc/skulker -rl /usr/spool/cron/skulker.log /SMPNTS1 90            
50 05 * * 5 /etc/rmemptydir /SMPNTS1 >> /usr/spool/cron/skulker.log             
50 05 * * 5 touch /SMPNTS1/@readme.txt           


--
Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS  
ITIL v3 Foundation Certified   
mailto:[email protected]                                       
Mark's MVS Utilities: http://www.mzelden.com/mvsutil.html 
Systems Programming expert at http://search390.techtarget.com/ateExperts/




----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to