Previous Topic: Description

Next Topic: MDISK Statements

MDISK and MDOPT Statements

CA VM:Secure creates, changes, or moves minidisks for a user ID based on MDISK and MDOPT statements in the new directory entry that is replacing the original directory entry.

MDISK statements define minidisks. MDOPT statements define options for minidisks. MDOPT statements precede MDISK statements; CA VM:Secure applies the options specified on an MDOPT statement to all MDISK statements that follow that statement until CA VM:Secure encounters an MDOPT statement with different options. In this way, the issuing user ID can specify unique options for each minidisk. If CA VM:Secure does not find an MDOPT statement in the directory entry, it uses options specified on the REPENTRY command and default values described in MDOPT Statements.

When replacing the directory entry, the REPENTRY command evaluates the MDISK statements in the original entry against the MDISK statements in the new entry and proceeds as indicated:

MDISK statement contents

REPENTRY command function

In the new entry that specifies all of the same values as an MDISK statement in the original entry

Leaves the minidisk unchanged

In the new entry that specifies a virtual address not specified on any MDISK statement in the original entry

Creates a new minidisk

In the new entry that specifies a virtual address specified on an MDISK statement in the original entry, but the values defining the minidisk are different

Redefines the minidisk in new space and moves the data

In the original entry that specifies a virtual address not specified by an MDISK statement in the new entry

Deletes the minidisk

When REPENTRY executes, CA VM:Secure passes the values specified on REPENTRY, the MDISK statements, and the MDOPT statements to the ADDMDISK and CHGMDISK commands, which create, change, or move the minidisks. REPENTRY calls the DELMDISK command to delete minidisks.

CA VM:Secure cannot move a minidisk defined in system T‑DISK or V‑DISK space to permanent space, or conversely. CA VM:Secure can only redefine T‑DISK or V‑DISK minidisks with a different size or on a different device type.