Adding Virtual Tape version back into catalog

book

Article ID: 107523

calendar_today

Updated On:

Products

CA Dynam for VSE CA Dynam VSE Option

Issue/Introduction

How to add virtual tape version back into the catalog.

We accidently deleted some tape versions that were virtual volumes.
I tried adding them back in, but when we try to use them, Dynam gives us error messages.

 // EXEC DYNCAT,SIZE=128K ADD 'THD.WORK.VTAPE1' VOL=(V10231) VTAPLOC='VSAM' VTAPFILE='VOLSER'

This executed without errors.

ut when we try to call for a mount of that version we get:
CADT110I VTAPE START ERROR - 1YN8D NO OR INVALID LABEL INFORMATION FOR VOLSER
CADT004A MOUNT VOLUME V10231 (VTAPE) DSN=THD.WORK.VTAPE1 SYS001 JOB=TAPEMDYN

How do we catalog a version that was accidentally scratched? 

Environment

Release:
Component: DYNVS

Resolution

Replace the literal VOLSER in the VTAPFILE parameter with the actual volser of the tape volume.

Example:     ADD 'THD.WORK.VTAPE1' VOL=(V10231) VTAPLOC='VSAM' VTAPFILE='V10231'

Additional Information

The customer responded that worked!

He used the parameters that he specified on the SCRPOOL statement when he added the virtual tapes to the catalog. 

It seems  for VSAM virtual tapes, "VOLSER" is replaced with the DTF name of the DLBL for the VSAM cluster.