If you formatted the minidisk yourself, you know what label you assigned
it; if not, you can find out the label assigned to the disk by issuing
theCMS command:
query search
The response might be:USR191 VSAM03 SYS109 SYS19E 191 A 333 C 190 S 19E Y/S R/W R/i - os R/O R/O Use the volume label VSAM03 in the MASTCAT AMSERV file:
DEFINEMASTERCATALOG -
(NAME(MASTCAT) VOLUME (VSAM03) - CYL (4) -
FILE (IJSYSCT) To find out what extents on this minidisk you can allocate for VSAM, use
theLISTDS command with the FREE option:
listds d (free
The response fromLISTDS might look like this: FREESPACE INFORMATION FOR 'D' DISK: CYL-HD(RELTRK) TO CYL-HD(RELTRK) TRACKS 000 01 1 000 09 9 9 000 11 11 029 18 569 560 From this response, you can see that the VTOC is located on the first
cylinder, so you can allocate cylinders 1 through 29 forVSAM: dlbl ijsysct c dsn mastcat (perm extent DMSDLB331R ENTER EXTENT SPECIFICATIONS: 19 551
(null line)
After entering the extents, in tracks, g1v1ng the relative track number
of the first track to be allocated followed by the number of tracks, you
must enter a null line to complete the command. (A null line is required
because, when you enter multiple extents, entries may te placed on more
than one line.)Now you can issue the AMSERV command:
amserv mastcat
A Ready message with no return code indicates that the master catalog is
defined.You do not need to reissue the DLBL command in order to
identify the master catalog for additionalAMSERV functions. You can use the AMSERV command to define private catalogs and spaces for
them. The procedures for determining what space you can allocate are the
same as those outlined in the example of defining a master catalog.
To define a user catalog, you can assign any ddname you want:200 IBM VM/370 eMS User's Guide
it; if not, you can find out the label assigned to the disk by issuing
the
query search
The response might be:
DEFINE
(NAME
FILE (IJ
the
listds d (free
The response from
cylinder, so you can allocate cylinders 1 through 29 for
(null line)
After entering the extents, in tracks, g1v1ng the relative track number
of the first track to be allocated followed by the number of tracks, you
must enter a null line to complete the command. (A null line is required
because, when you enter multiple extents, entries may te placed on more
than one line.)
amserv mastcat
A Ready message with no return code indicates that the master catalog is
defined.
identify the master catalog for additional
them. The procedures for determining what space you can allocate are the
same as those outlined in the example of defining a master catalog.
To define a user catalog, you can assign any ddname you want: