[Richware Logo]


All software distributed from these pages has been released to public domain. Software may be freely copied, distributed, and modified. Software is provided as is, free of charge. The author assumes no responsibility or liability for the use of this software.


CLEAR_QUEUE


CLEAR_QUEUE is a utility that removes all entries from a specified queue. An optional parameter allows you to remove only those entries that have been RETAINED.

CLEAR_QUEUE is distributed as a DCL command procedure.

Example Usage
$ @CLEAR_QUEUE SYS$PRINT
This procedure will remove ALL entries in the SYS$PRINT queue.
Are you sure you want to proceed (y/n)? Y

Removing Entry 126 (TMP_REPORT).
Removing Entry 156 (LOGIN).
Removing Entry 225 (DISK_LISTING).

Deleted 3 entries from SYS$PRINT.

$ @CLEAR_QUEUE SYS$PRINT1 RETAINED
This procedure will remove all RETAINED entries in the SYS$PRINT1 queue.
Are you sure you want to proceed (y/n)? Y

Removing Entry 1265 (PERFORMANCE_RPT).
Removing Entry 1512 (DISK_LISTING).

Deleted 2 entries from SYS$PRINT1.
 



Downloading Instructions: Click on View Command Procedure below, then use your browser's Save As option from the File menu to save the command procedure.


View Command Procedure
     
View Online Documentation



Back to the Home Page


©1998 by Richard D. Johnson