Previous Topic: LINK User ExitNext Topic: MINIDISK User Exit


MDISK User Exit

Important! The MDISK user exit is called only in the absence of the MINIDISK user exit. The MINIDISK user exit is the preferred user exit for this interface.

Use the MDISK user exit to accept or reject changes made to a minidisk link mode and passwords.

MDISK userid owner [linkmode [readpwd [writepwd [multpwd]]]]

Definitions

userid

Specifies the user ID requesting the link mode or password change.

owner

Specifies the user ID that owns the minidisk being changed.

linkmode

Specifies the mode with which the minidisk will be linked.

readpwd

Specifies the read password for the minidisk.

writepwd

Specifies the write password for the minidisk.

multpwd

Specifies the multiple password for the minidisk.

(CA VM:Secure only) If you have the Password Encryption Facility installed, link passwords are encrypted.

Return Codes

The following table describes the return codes:

Return Code

Meaning

0

Minidisk link mode and password changes are accepted

4

Minidisk link mode and password changes are accepted, and a message is stacked; the length limit of the message is 67 bytes

8

Minidisk link mode and password changes are rejected, and a message is stacked; the length limit of the message is 67 bytes

Macros

The following macros call the MDISK user exit:

Called by

Optimized Macro Name

Under These Circumstances

VMXAMD00

ADDMDISK

A minidisk is added using the ADDMDISK command

VMXCMD00

CHGMDISK

A minidisk is changed using the CHGMDISK command

VMXMAI00

MAINT

Changes are made using the MAINT command

VMXUSE10

USE00010

Changes are made using the USER command