The console is 01F and is real device 051. Devices 190, 19A, and 19E are used to operate CMS in this virtual machine. Device 290 is not used and could have been deleted. Device 330 is the 3330, 2o-cylinder, read/write minidisk that becomes
the virtual system residence volume for this virtual system when it
is running VM/370. The volume serial numbers (volids) for the DASD devices are those of
the real disks on the real computing system.
link usecms 191 191 rr
ENTER READ PASSWORD: DASD 191 LINKED R/O; R/W BY USECMS The LINK ccmmand allows the user to access a userid that has a disk containing certain directory files. This example uses one of these
files to crea te a virtual system directory.
def 1f as 009 CONS 009 DEFINED
i cms CMS ••• FLOOR ••• mm/dd/yy Y (19E) R/O.
A (191) R/O. 013 USERS, 000 DIALED DMSACC113S 'B (196) , NOT ATTACHED. DMSACC113S 'c (194) NOT ATTACHED.
R; __ . _____________ J
This segment shows the redefinition of console 01F as 009 before
issuing the CP IPL command. The error messages indicate that a PROFILE EXEC is running from the user's 191 disk; the PROFILE EXEC is attempting
tc access disks that are not defined in the virtual machine
ccnfiguration. However, these disks are not required to do a directory
load. r-- I listf * direct a I FILENAME FILETYPE MODE I V145A DIRECT A1
i USERTEST DIRECT A2 I USER DIRECT 11 I USER1 DIRECT A1 I R- ,
This LISTFILE command, issued in the CMS environment, shows that
there are four files with a filetype of DIRECT. This example uses the
one named V145A.
section 2. VM/370 in a Virtual Machine 57
type v145a direct DIRECTORY 330 3330 CPDSK3 USER OPERATOR OPERATOR 256K 1M ABCDEFG ACCOUNT 12345678 COMP.RM CONSOLE 9 3215 SPOOL C 2540 READER A SPOOL D 2540 PUNCH A SPOOL E 1403 A
LINK USECMS 191 191 WR MDISK 196 3330 0 10 SYS196 RR RDGDEV MDISK 190 2314 0 56 CMS190 RR RDGDEV MDISK 19E 2314 0 26 FLRCMS RR RDGDEV USER USECMS TOM 256K 1M G ACCOUNT 12345679 ROOM331 CONSOLE 9 3215 SPOOL C 2540 READER A SPOOL D 2540 PUNCH A SPOOL E 1403 A LINK OPERATOR 196 196 RR
LINK OPERATOR 190 190 RR
LINK OPERATOR 19E 19E RR
----, MDISK 191 3330 0 9 USECMS WR RDGDEV WDGDEV MDGDEV MDISK 192 2314 T-DISK 5
DED 19A CaS19A R;
This segment requests a typed copy of file V145A DIRECT. The DIRECTORY statement specifies that the directory is to be written on a
3330 device at address 330 and that its virtual label is CPDSK3. This
address corresponds to the 3330 virtual disk that was shown and
discussed under the QUERY VIRTUAL command at the beginning of this Because this is a virtual disk, CPDSK3 is a virtual label, not
a real label. Thus, the virtual 3330 disk (CPDSK3) is on the real disk
labeled PIDSK4. This virtual disk was previously formatted, labeled,
and allocated by the CP format/allocate program (not shown in this
example) Note: The user identified as OPERATOR has all privilege classes to easily control the virtual VM/370 system. The console and unit record
devices are defined to allow him to operate CMS. The virtual disks
defined for this userid have a displacement of zero and a size that does
net exceed the bounds of the virtual disks defined for the virtual VM/370 system. The volids specified on the directory statements are the
velids on the virtual disks for the virtual CP system. They are not the
velids of the real disks on which those virtual disks are defined for
the virtual CP system. I direct v145a I EOJ DIRECTORY UPDATED I R (00006) ; This segment shows the operation of the directory program in a
virtual machine. The file used to create the virtual directory is V1451 DIRECT, which was previously typed out. Note that the return code is 6.
The directory has been updated on the disk, but because this disk is a
virtual disk and net the real system residence disk
i the real CP system directory has not been modified. The return code of 6 is the normal
cede indicating this fact. However, a return code of 4, 5, or 6 is
acceptable.
58 IBM VM/370 Operating Systems in a Virtual Machine
Previous Page Next Page