I have used:
VMSECURE MAP dasdvol ( FILE dasdvol to produce a file of allocated space on a volume. Then I use a PIPE to select the MDISK statements from the file I just created. The PIPE creates a series of VMSECURE CHGMDISK commands. You will need to read up on the CHGMDISK command. It uses positional parameters. Good luck. ____________________________ Jim Hughes 603-271-5586 "There's no sense in being precise when you don't even know what you're talking about." John von Neumann ________________________________ From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Schuh, Richard Sent: Wednesday, April 11, 2007 4:55 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Freeing Disks We have several sparsely allocated (to minidisks, not CP areas) disks and would like to clear some full-packs by moving users from these disks to other volumes. Is there anyone who has already invented this wheel using VM:Secure or is there a VM:Secure command or utility that I am not seeing when I open the manuals? Regards, Richard Schuh