Rich's command below is fine if you want to erase a file on DIRMAINT,
but Derek asked how to erase a file on DISKACNT.  DIRMAINT has no
special powers to erase files on other virtual machines.  You either
need to shut DISKACNT down to erase the file, or use Shared File System
instead of a minidisk to collect data on DISKACNT.

                                                       Dennis O'Brien

"The right to be heard does not automatically include the right to be
taken seriously." - Hubert Humphrey
 
-----Original Message-----
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Rich Greenberg
Sent: Thursday, September 20, 2007 08:28
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: [IBMVM] DISKACNT maintentence

On: Thu, Sep 20, 2007 at 05:17:02PM +0300,Kris Buelens Wrote:

} If you have the REXX compiler, you can extract the IMMERASE MODULE
from my
} PRFRUN package on VM's download lib.  Store it on DISKACNT's 191,
change its
} PROFILE EXEC to include a line like this:

} 2007/9/20, Derek Ackerman <[EMAIL PROTECTED]>:
} >
} >   Is there any problem with erasing the oldest file every day on
DISKACNTs
} > 191, or does DISKACNT have to be bounced to reaccess its 191. (I'm
deleting
} > a file not adding one)

Kris, while your solution is elagant, it seems like overkill for Derek's
problem.

Assuming that:
 1) DIRMAINT is up and running,
 2) Derek knows the Fn Ft of the file to be erased. and
 3) The userid Derek is using has the proper authorizations.

Then I would simply have him do:

     DIRM CMS ERASE Fn Ft A

-- 
Rich Greenberg  N Ft Myers, FL, USA richgr atsign panix.com  + 1 239 543
1353
Eastern time.  N6LRT  I speak for myself & my dogs only.    VM'er since
CP-67
Canines:Val, Red, Shasta & Casey (RIP), Red & Zero, Siberians
Owner:Chinook-L
Retired at the beach                                     Asst
Owner:Sibernet-L

Reply via email to