DASD

Purpose: Represents a real DASD device.

Properties:

MDISKManager mdiskManager

The MdiskManager object that represents all MDISKs on this DASD pack.

String address

The real address of this DASD pack.

String volumeLabel

Volume Label for this DASD pack.

String owner

Owner of this DASD pack. This is set to SYSTEM in the event that it is a system owned DASD. It is set to CP in the event that it is a CP owned DASD pack.

Public Methods:

DASD(String addr, String myVolLabel , String myOwner)

Creates a new DASD object with given data.

get/Set methods for Properties

address, volumeLabel, owner.

void Attach(String guest)

Attaches this DASD pack to the guest specified.

void detach()

Detaches this DASD pack from its owner.

Void Format(String type)

This will format this particular DASD device. “type” is either PERM, TDSK, PAGE or SPOOL. The entire pack will be formatted from end to end.

Private Methods:

Notes:

Can we dedicate DASD?? NO!!!!!!

2004-02-29T11:12:51