Use the DISTCODE user exit to validate new distribution codes.
DISTCODE userid userid2 olddist newdist
The user ID requesting the distribution code change.
The user ID whose distribution code is being changed.
The old distribution code.
The new distribution code.
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 |
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 |
|
Copyright © 2014 CA.
All rights reserved.
|
|