|
If you’re
new to maintaining a VM system, then you may not know about some of the
more obscure VM commands that are nevertheless quite useful. The
following commands are all installed on MAINT’s 193 (so you need to LINK
and ACCESS that disk before using), and may also require a privilege
class other than G. They are all documented in either the CMS or CP
Command and Utility Reference:
DCSSBKUP/DCSSRSAV –
This pair of commands will back up a Discontiguous Shared Segment to
disk, and then restore it from disk. The VM installation manuals contain
instructions for rebuilding these segments from the original shipped
files, but running DCSSBKUP before your weekly backups gives you another
layer of comfort.
QSYSOWN – Reports
on the availability of system page and spool space. It’s a handy way to
check to make sure that you’re not under-allocated for either area, as
the consequences of that can ruin your day.
CPSYNTAX – Checks
SYSTEM CONFIG for syntax errors after a change. We recommend that you
add a CPSYNTAX run to your procedures for making configuration changes,
as you do not want to discover an error during system IPL, when
it’s much more difficult to fix.
ACCESSM0 – When you
ACCESS a minidisk or directory read-only, by default you are not shown
any mode-0 files. Enter ACCESSM0 ON before the ACCESS, and you’ll be
able to see them. Indispensible for viewing files on disconnected server
machines.
SFPURGER – This is
a utility that will clean up the system spool. You provide a
configuration file that indicates the type, owner, age, class, etc.
attributes of spool files, and then run SFPURGER to delete the files
that match your criteria. It takes some time to get the configuration
correct, but you can make test runs to see what it would have been
deleted if allowed to run. This tool is one key part in setting up a
system that will run unattended.
|