MDISK

Purpose: Represents a Minidisk object. A minidisk is a section of a DASD pack that belongs to a specific user, as defined in the z/VM User Directory.

Properties:

String vAddr

Virtual Address of the MDISK as defined in CP user directory.

String owner

Owner of the MDISK as defined in CP user directory.

String dasdModel

DASD Model of the MDISK as defined in CP user directory.

String cylStart

Start cylinder of the MDISK as defined in CP user directory.

String cylSize

Cylinder size of the MDISK as defined in CP user directory.

String DASDVolLabel

Volume label of the DASD this MDISK resides on. Defined in CP user directory.

String MDiskVolLabel

Virtual Address of the MDISK. Defined only for CP formatted disks. ????????????????? Can we even get this info???????

String accessMode

Access mode of the MDISK as defined in CP user directory.

String pass1

Pass1 of the MDISK as defined in CP user directory.

String pass2

Pass2 of the MDISK as defined in CP user directory.

String pass3

Pass3 of the MDISK as defined in CP user directory.

Public Methods:

MDISK(String myVaddr, String owner, String dasdModel, String cylStart, String cylSize, String DASDVolLabel, String accMode, String pass1, String pass2, String pass3)

Creates a new MDISK object with the required information.

get/Set methods for all Properties

Gets/Sets values for the vAddr, owner, dasdModel, cylStart, cylSize, DASDVolLabel, MDiskVolLabel, accessMode, pass1, pass2, pass3 properties.

Void formatMDISK(String myLBL)

Will use the CMS FORMAT command to put a CMS file system onto the DASD.	MyLBL will be the MDISK volume label that will be set for the DASD.

Private Methods:

Notes:

We discussed putting a CP FORMAT method here to format a minidisk but decided that it doesn't quite fit, as we would have to pass a specific command line controller that is already logged in as the OWNER. This is bad. Instead we may want to do this another place where we can LINK to this MDISK from GUIMAINT (maybe) and format it that way. UPDATE: It may make sense to pass our zVMCommandLineController around to where ever it is needed, if we dont we'll have a whole of of functionality put in some pretty obscure places.

Find out specific meanings of directory passwords.

All properties governed by the get/set methods are taken from the CP User Directory except MDISkVolLabel. MDISkVolLabel is the label that is given to a specific Minidisk, it does not apply to the entire DASD volume. This may need to be queried for specifically.

NOTE: Can we format an MDISK without being the OWNER? How??

2004-02-29T11:12:51