Generated from C.60.01 /SYS/PUB/CICAT last modified on Thu Jan 11 09:18:52 2001
Removes symbolic links, device files, ordinary files, and empty directories.
PURGELINK [LINK=] linkname
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.
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.
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
Commands: NEWLINK, PURGE, PURGEDIR Back to Main Index