Please enable JavaScript to view this site.

Navigation: Technical Information > Cobwebb APIs & Commands

DLTSPLFS - Delete Spooled Files

Scroll Prev Top Next More

From version 6.2.66 - This command will allow you to delete multiple spool files with the same Spool File Name in a specified Output Queue.

This command can be found on the Cobwebb Tools Menu - Option 6. Alternatively, with library CPPD in your Library List, enter DLTSPLFS on a command line and press F4=Prompt.

Command Parameters

Output Queue (OUTQ)

The name of the Output Queue where the spool files you wish to delete reside.

Library (OUTQLIB)

The name of the Library where the Output Queue resides.

Spool File Name (FILE)

The Spool File Name used to select the spool files to delete.    

User Data (USRDTA)

The User specified data used to select the spool files. If you leave the default of *ALL then the User Data of the selected spool files will not be checked, otherwise you may enter the User Data that you wish to be used for selecting the spool files. Note: This must be an exact match including case.      

User Name (USRNAME)

The User Name used to select the spool files. If you leave the default of *ALL then the User Name of the selected spool files will not be checked, otherwise you may enter the User ID that you wish to be used for selecting the spool files.  

Spooled file status (STATUS)

The spool file status used to select the spool files. If you leave the default of *ALL then the status of the selected spool files will not be checked, otherwise you may enter one of the other valid options *READY, *HELD or *SAVED.

Change after days old (DAYS)

This option will allow you to specify how old a spool file needs to be before being deleted. Say you want to delete all invoices from the previous days output you would enter a 1 here and this would pick up any matching spool file of one day or older. Entering a 0 will not check the age of the spool file. If you leave the default of 999 then nothing will happen unless you have spool files more than 999 days old.