On Mon, 29 Apr 2024, 23:32 Fish Fish via , <david.b.trout=[email protected]> wrote:
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?
No, it's fine as it is. If you are using it for MINIDISKS these are formatted by the user. If using it for other purposes you may need to format those areas but you don't need to touch the label.
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.
No, if you use the standalone format allocate program you don't need to change the label. So if you are adding a spool area to an existing volume you would format the spool area.
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.
Yes this is the simplest way to check.
--
"Fish" (David B. Trout)
Software Development Laboratories