Previous Topic: MDISK Statements

Next Topic: Return Codes and Error Messages

MDOPT statements

MDOPT “Mdoptparms”
Mdoptparms:
[Format | NOFormat]
[SUBpool {poolname | *}]
[BLKsize {blksize | *}]
[Label {label | *}]
[AUnit {unitsize | *}]

CA VM:Secure ignores the FORMAT, NOFORMAT, SUBPOOL, and LABEL options on MDOPT statements when creating minidisks on T-DISK or V-DISK. CA VM:Secure ignores all options on MDOPT statements when creating minidisks with the DEVNO parameter.

Note: MDOPT statements must precede MDISK statements. CA VM:Secure applies the options specified on a MDOPT statement to all MDISK statements that follow that statement until CA VM:Secure encounters an MDOPT statement with different options.

[ Format | NOFormat ]

Specifies whether CA VM:Secure is to format the new minidisks defined in MDISK statements that follow. For these minidisks, this parameter overrides the FORMAT option on the ADDENTRY command.

[ SUBpool poolname | * } ]

Specifies the subpool from which CA VM:Secure is to allocate the new minidisks. The default for poolname is *MNGR, which searches the list of subpools in which the directory manager for this user ID can allocate space for the first subpool with enough space.

If you specify the subpool by name, that subpool must be defined in the DASD CONFIG file and included in your or the owning manager’s list of subpools in the VMSECURE MANAGERS file. ANYPOOL authorization overrides this restriction. To specify a subpool list, use one of the variable subpool categories listed in the table, Variable Subpool Categories.

[ BLKsize [ blksize | * } ]

Specifies the CMS block size CA VM:Secure uses when formatting new minidisks. Possible values for blksize are 512, 1024, 2048, 4096, 1K, 2K, and 4K. The default for blksize is the value specified for AUNIT; if no value is specified for AUNIT, the default for blksize is the default block size defined for the device type.

If NOFORMAT is specified on the ADDENTRY command or the MDOPT statement for a minidisk, CA VM:Secure ignores this parameter.

[ Label [ label | * } ]

Specifies the minidisk label CA VM:Secure is to give new minidisks when it formats them. The default is DKvaddr. CA VM:Secure replaces vaddr with the virtual device address.

NOFORMAT is specified on the ADDENTRY command or the MDOPT statement for a minidisk, CA VM:Secure ignores this parameter.

[ AUnit [ unitsize | * } ]

Specifies an alternate allocation unit size for CA VM:Secure to use when it calculates the size of the new minidisks. When this parameter is used, CA VM:Secure interprets the value for size on MDISK statements as the number of blocks of the size unitsize. It then uses this number to calculate the actual allocation size for the type of device used.

Possible values for unitsize are 512, 1024, 2048, 4096, 1K, 2K, and 4K. The default for unitsize is the specified or default value for BLKSIZE.

Example:

The following directory entry BOBBY DIRECT exists on your read/write A-disk:

USER BOBBY BOBBY 5M 12M G 64
INCLUDE PROJ1
MDOPT FORMAT SUBPOOL MAIN LABEL BOB191 BLKSIZE 1024
MDISK 191 3380 * 1M * MR 
*ENROLL 100 2 FPMKTG

The following PROF1 directory profile also exists:

PROFILE PROF1
MACH ESA
IPL CMS PARM AUTOCR
* CONSOLE 009 3215
SPOOL 00C 2540 READER A
SPOOL 00D 2540 PUNCH A
SPOOL 00E 1403 A
*
* Get CMS disks
*
LINK MAINT 190 190 RR
LINK MAINT 19E 19E RR
LINK MAINT 19D 19D RR

To create user ID BOBBY and a 191 minidisk labeled BOB191 for BOBBY from subpool MAIN, and enroll him in filepool FPMKTG, enter:

vmsecure addentry bobby (noskel