Previous Topic: FORMAT User ExitNext Topic: MDISK User Exit


LINK User Exit

Use the LINK user exit to accept or reject a directory link being added to a virtual machine.

LINK userid target owner vaddr [vaddr2 [linkmode]]

Definitions

userid

Specifies the user ID defining the directory link.

target

Specifies the user ID to receive the directory link.

owner

Specifies the user ID that owns the minidisk being linked.

vaddr

Specifies the virtual address of the minidisk being linked as specified in the owning user ID’s directory entry.

Vaddr2

Specifies the virtual address being assigned to the minidisk. The default is the virtual address given the minidisk by the owning user ID (vaddr).

linkmode

Indicates the link mode. The default link mode is R.

Return Codes

The following table describes the return codes:

Return Code

Meaning

0

New link is valid

4

New link is accepted and a message is stacked; the length limit of the message is 67 bytes

8

New link is rejected and a message is stacked; the length limit of the message is 67 bytes

Macros

The following macros call the LINK user exit:

Called by

Optimized Macro Name

Under These Circumstances

VMXADDNT

ADDENTRY

A user ID is created using the ADDENTRY command

VMXMAI00

MAINT

A new directory link is defined using the MAINT command

VMXREPNT

REPENTRY

A user ID is changed using the REPENTRY command

VMXUSE60

USE00060

A new directory link is defined using the USER command