Stupid DCL Tricks

Last Update : August 25, 1999


APRIL_FOOL.COM

A fun command procedure to pull an April Fools joke on your unsuspecting users. When this procedure is running, your users see what LOOKS LIKE (but not really) all of their files being deleted.

DEL0.COM

This command procedure deletes files that have a zero block length.

LABEL.COM

This command procedure labels a DECTERM window title bar and it's Icon.

REBUILD_DISKS.COM

This command procedure rebuilds the volume bit allocation map on all mounted writeable disks.

SET_ACL.COM

This command procedure provides a simple interactive procedure to set an Access Control List to a group of files or directories.

STPATTY.COM

This is a fun command procedure to put in your SYLOGIN.COM in celebration of St. Patrick's day.

TRIM_FILES.COM

This command procedure trims unused blocks off of files that have more blocks allocated than actually used, leaving files that can not be trimmed, untouched.

SYSINFO.COM

This command procedure generates a report about the current configuration of the node that it is being run on. This command procedure becomes particularly usefule in a cluster environment when run by the SYSMAN utility on all nodes of a cluster.

DISK_SPACE.COM

This command procedure generates a comprehensive report on current disk capacity and usage.

GO.COM

My favorite SET DEFAULT command procedure that changes your DCL prompt to let you know where you are, plus some other features.

ALERT_DISK.COM

This command procedure is launched as a subprocess or a batch job, and watches the amount of freespace on a specified disk. When the amount of free blocks dips below a specified value. An OPCOM message is issued and a mail message is sent to a list of specified users.


Thanks to Kevin Barkes for the name of this page.


My Home Page | VMS Home

DCL | Utilities | Management | Tips

FORTRAN | Pascal

eMail Questions

Quiz?