PURGELINK


PURGELINK

     Removes symbolic links, device files, ordinary files, and
empty directories.

SYNTAX

     PURGELINK [LINK=] linkname


PARAMETERS

linkname              The name of a symbolic link, device file,
ordinaryfile, or directory. All rules regarding
file name specification apply to this parameter.

This is a required parameter. You may not
use wildcards in linkname or specify a file
equation in place of linkname.


OPERATION


A symbolic link is a special file that can point to a file, group,
account, or directory. Links are established through the NEWLINK
command, and they are removed through the PURGELINK command.

A device link is a special file that can point to an ldev for a
device. Device links are established through the MKNOD command,
and they are removed through the PURGELINK command.

The PURGELINK command may be issued from a session, job, program,
or in BREAK. PURGELINK requires Traverse Directory (TD) and Delete
Directory entry (DD) permissions.


EXAMPLE

     For the following examples assume that a user is currently
logged on as USER1 in the group SAFE.COMPANY.

To remove the link /COMPANY/SAFE/PAYROLL, enter the following command:

PUREGLINK PAYROLL

To remove the link /dira/scripts, enter the following:

PURGELINK /dira/scripts

To remove a file named SIERRA, enter:

PURGELINK SIERRA

To remove the device file called /dev/tape, enter:

PURGELINK /dev/tape

ADDITIONAL INFORMATION

Commands:   NEWLINK, PURGE, PURGEDIR