Previous Topic: Definitions

Next Topic: Return Codes and Error Messages

Description

The CHGMDISK command changes or moves a minidisk for an active user ID. It can also change the label, link mode, passwords, or caching attributes of a minidisk without actually moving the minidisk.

When a CA VM:Secure macro calls the CHGMDISK command, it stacks a record for use by the calling macro when it successfully moves the minidisk. The stacked record is in last in, first out (LIFO) order and contains all the information necessary to build an MDISK record to describe the minidisk new location. The stacked record has the following format:

vaddr devtype start size volser linkmode rpw wpw mpw

The start and size values are in blocks for FBA and cylinders for CKD devices.

(CA VM:Secure only) If PEF is installed, passwords are encrypted.

If another CA VM:Secure macro does not call CHGMDISK, it does not stack any record.