Previous Topic: DESTROYENTITY CommandNext Topic: DESTROYMETHOD Command


DESTROYLOGIN Command

The DESTROYLOGIN command destroys an existing login.

This command has the following format:

ADDRESS VOX "DESTROYLOGIN KEY(key)"
KEY

Specifies the key of the login to be deleted.

Return Information:

After DESTROYLOGIN executes, it sets the special REXX return code variable RC.

Example:

The following example removes the login JSMITH from the database:

ADDRESS VOX "DESTROYLOGIN KEY(800001006)"