¿ªÔÆÌåÓý

Re: I forgot the VOLSER of drives (3380) I created


 

Dave Wade wrote:

Fish,
Whilst VM doesn't use the VTOC it does create one to prevent
MVS trampling over VM disks so it's very happy to use a volume
created with DASDINIT providing you add a label.
I suspected as much but wasn't sure so I thought I'd stick with what I could remember. :)

But regardless of whether the dasd image was created with or without a VOLSER, it still needs to be formatted by VM before it can be used, yes? And formatting it in VM will always assign a VOLSER as Ren¨¦ Ferland has shown, which can be different, if desired, from the one assigned to it by dasdinit.

Buy my original answer still stands: you can use dasdls to quickly and easily determine a volume's VOLSER. If it doesn't have a VOL1 (and thus no VOLSER), you'll get a "HHC02471E Format 4 DSCB record not found". Otherwise if it does have a VOL1 record, dasdls will report the volume's VOLSER.

--
"Fish" (David B. Trout)
Software Development Laboratories

mail: fish@...

Join [email protected] to automatically receive all group messages.