Previous Topic: MDISK User ExitNext Topic: NEWUSER User Exit


MINIDISK User Exit

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

MINIDISK  userid1  userid2  vaddr [mode [rpass [wpass [mpass]]]]

Note: The MINIDISK user exit supersedes the MDISK user exit and is called in all cases, even if the USEREXIT MDISK record exists.

Definitions

userid1

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

userid2

Specifies the user ID being changed.

vaddr

Specifies the virtual address of the minidisk.

mode

Specifies the mode with which the minidisk will be linked.

rpass

Specifies the read link password for the minidisk.

wpass

Specifies the write link password for the minidisk.

mpass

Specifies the multiple write 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 MINIDISK 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