Any records in these files that do not match are displayed at your
terminal.
If you have OS or DOS disks attached to your virtual machine, you can
display a list of OS data sets or DOS files by using the LISTDS command;
for example:
listds d
displays a list of the data sets or files on the OS or DOS disk accessed
as your D-disk. COMMANDS TO REQUEST INFORMATION ABOUT YOUR VIRTUAL DISKS Use the CP QUERY command to find out: What virtual disks are currently part of your configuration:
cp query virtual dasd Whether a particular virtual disk address is in use:
cp query virtual 291 What users might be linked to one of your disks:
cp query links 330 The CMS QUERY co.mand can tell you about your accessed disks. If you
enter:
query disk a
you can find out the number of files on your A-disk, the amount of space
that is being used, and its percentage of the total disk space, and the
read/write status. To get this information for all of your accessed
disks, issue the command:
query disk *
To obtain information about the extents occupied by files on OS and DOS disks, enter the command:
listds * (extent
If you want to know the current order in which your disks are
searched for data files or programs, issue the command:
query search You could also use this command to find out what disks you have
accessed, what filemode letters you have assigned to them, whether they
are read/write or read-only, and whether they are CMS, OS, or DOS disks. COMMANDS TO REQUEST INFORMATION ABOUT YOUR VIRTUAL MACHINE If you issue the command:
cp query virtual 40 IBM VM/370 CMS User's Guide
you can find out the status of your virtual machine configuration. You can also request specific information; for example, the command:
cp query storage
gives you the amount of virtual storage you have available.
To find out the current spooling characteristics of your printer,
punch, or reader, issue the commands:
cp query OOe cp query OOd cp query OOc To see information about all three at once, use:
cp query ur
For the status of spool files on any of these devices, issue the
commands:
cp query printer
cp query punch
cp query reader Using these commands, you can request the status of particular spool
files by referring to the spoolid number; for example:
cp query printer 4187 You can also request additional information about the files, including file identification and creation time:
cp query reader all
If you want to know the total number of spool files associated with
your virtual machine, you can use the command:
cp query files
The response to this message is the same as the message you receive if
you have spool files when you log on.
Section 3. What You Can Do With VM/370-CMS Commands 41
Previous Page Next Page