Release : 12.6
Component : CA VTAPE
The 'lost' PRIMARY VVE entry had to be temporarily redefined to a scratch volume (of the same volume set as the DUPLEX backstore volume) using IDCAMS, then a RECYCLE PHYSICAL SOURCE(REPAIR) using the DUPLEX backstore volume was run. The end result being that a new PRIMARY VVE and backstore volume is created.
------------------------------------- Instructions/Steps for Resolution ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
When a PRIMARY VVE entry for a virtual volume does not exist or is 'lost', it is possible to recreate this VVE entry from the corresponding DUPLEX VVE entry/DUPLEX backstore volume, if it exists:
1) Create a 'dummy' PRIMARY VVE entry in the system catalog:
//STEP01 EXEC PGM=IDCAMS
//SYSIN DD *
DEFINE NONVSAM(NAME(CAVTAPE.VVE.Vnnnnn.PRIMARY) -
VOL(vvvvvv) -
DEVT(<device type, such as 3590-1>) -
FSEQN(1))
/*
//SYSPRINT DD SYSOUT=*
In the above control statements replace 'Vnnnnn' with the volser of the 'missing' PRIMARY virtual volume.
Also, replace volser 'vvvvvv' with a physical volume that is not currently in use, but is of the same type
as other PRIMARY backstore volumes (this would normally match with the DEVT parm value). Supply a
device type for the DEVT parm which is the device type used for the PRIMARY backstore volumes
(to identify this, see the Vtape 'VTGROUP' member and the GroupNN associated with this PRIMARY volume,
the 'PRIMARY=' parm defines this device type, use this value).
2) Run a RECYCLE/REPAIR against this same 'dummy' volume to force creation of a PRIMARY backstore volume and
PRIMARY VVE entry:
RECYCLE PHYSICAL(vvvvvv),
SOURCE(REPAIR)
In the above control statement, replace 'vvvvvv' with the same value used in the IDCAMS DEFINE VOL(vvvvvv) above.
See the CA Vtape Administrating Guide, Chapter 'Recycle Utility' for Recycle background info:
See the section 'Virtual Volume Recovery' in Chapter 'Recovering CA Vtape' for more details on recovery processing: