At 10:32 -0600 on 01/27/2016, Tom Marchant wrote about Re: Deleting a dataset that GRS has enqueued.:

On Wed, 27 Jan 2016 09:37:29 -0600, Ed Gould wrote:

Try disabling the VVDS on the volume
amaspzap the dataset to change the name.
delete the dataset with iehprogm
enable the vvds on the volume

ITYM disable the VTOC index. I wouldn't want to do it that way.
I think that what Kees suggested is a better solution. Tell GRS
not to propagate the ENQ.

--
Tom Marchant

If you are going to go the amaspzap route but do not want to disable/enable the vvds, there is a simpler way of cleaning up the vvds. There is a "VVDS is Dirty" bit in the VTOC Format 4 record. Use Superzap to display its current state (there is a special Dataset Name that accesses the needed Format 4 record and gives you full access to the VTOC). Now do the Dataset rename, run IEHPROGM, and zap the byte to flip the bit on. The operating system will see the bit set and rebuild the VVDS for you. Note that the dirty bit might be for a dirty VTOC but I think that the VVDS will will be rebuilt in this case. Also the Dataset's Format 1 record can be ZAPPED which will delete it for you and the VTOC will be updated to compensate due to the dirty flag.

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

Reply via email to