Previous Topic: Definitions

Next Topic: CLASS Command

Description

Note: The CHGVOLNM command requires a CP formatted disk label. Do not use the CHGVOLNM command against CMS‑formatted minidisks.

The CHGVOLNM command allows you to change the volser of any DASD volume controlled by CA VM:Secure, and to have it update all references to the volume by its new volser, including the reference in the physical label of the DASD.

CA VM:Secure changes references to the old volser in the following:

Important! CHGVOLNM does not change the volser parameter on the DIRECT record in the PRODUCT CONFIG file. If you change the volser of the object directory volume, you must change that record manually; otherwise CA VM:Secure will not initialize.

At its completion, CHGVOLNM sends a file called CHGVOLNM UPDATE to your A‑disk. This file lists the user ID and virtual address of each MDISK statement that was updated and indicates the original volser and the new volser. If a file with this name already exists, CHGVOLNM appends the new information to the existing information in the file and indicates the date and time the changes occurred.

To prevent the CHGVOLNM command from having to wait for a lock, CA VM:Secure acquires a private lock against the entire DRCT (source) disk during execution of the command. This lock prevents other directory management tasks from starting and may cause currently running tasks to wait until the command completes.

Note: If a system failure occurs while CHGVOLNM is running, the volser change may be only partially complete. You may have to manually change references to the volser that CHGVOLNM did not change before the system failure.

Examples