Previous Topic: DISKCOPY User ExitNext Topic: FORMAT User Exit


DISTCODE User Exit

Use the DISTCODE user exit to validate new distribution codes.

DISTCODE userid  userid2  olddist  newdist

Definitions

userid

The user ID requesting the distribution code change.

userid2

The user ID whose distribution code is being changed.

olddist

The old distribution code.

newdist

The new distribution code.

Return Codes

The following table describes the return codes:

Return Code

Meaning

0

New distribution code is valid

4

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

8

New distribution code is invalid and a message is stacked; the length limit of the message is 67 bytes

Macros

The following macros call the DISTCODE user exit:

Called by

Optimized Macro Name

Under These Circumstances

VMXADDNT

ADDENTRY

A user ID is created using the ADDENTRY command

VMXMAI00

MAINT

A distribution code is changed using the MAINT command

VMXMAI20

MAI00020

A user ID is created using the MAINT MANAGE command

VMXMAN20

MAN00020

A user ID is created using the MANAGE command

VMXMUL00

MULTIPLE

A user ID is created using the MULTIPLE command

VMXREPNT

REPENTRY

A user ID is changed using the REPENTRY command

VMXUSE90

USE00090

A distribution code is changed using the USER command