Previous Topic: Implementing User ExitsNext Topic: AUDIT User Exit


ACCOUNT User Exit

Use the ACCOUNT user exit to verify account number changes.

ACCOUNT userid userid2 newacct [oldacct]

Definitions

userid

Specifies the user ID requesting the account number change.

Userid2

Specifies the user ID whose account number is being changed.

newacct

Specifies the new account number.

[oldacct]

Specifies the old account number.

Return Codes

The following table describes the return codes:

Return Code

Meaning

0

New account number is accepted

4

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

8

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

Macros

The following macros call the ACCOUNT user exit:

Called by

Optimized Macro Name

Under These Circumstances

VMXADDNT

ADDENTRY

A user ID is created using the ADDENTRY command

VMXASN00

ASSIGN

A user ID is assigned to a new directory manager and the account number is changed

VMXMAI00

MAINT

An account number is changed through 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

An account number is changed using the USER command