Please enable JavaScript to view this site.

Navigation: Technical Information > Cobwebb APIs & Commands

MOVSPLFS - Move Spooled Files

Scroll Prev Top Next More

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

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

Command Parameters

From - Output Queue (FOUTQ)

The name of the Output Queue you wish to move the spool files from.

From - Library (FOUTQLIB)

The name of the Library where the From Output Queue resides.

From - Spool File Name (FFILE)

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

From - User Data (FUSRDTA)

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.      

From - User Name (FUSRNAM)

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.  

From - Status (FSTATUS)

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.

To - Output Queue (TOUTQ)

The name of the Output Queue where you wish move the spooled file to.

To - Library (TOUTQLIB)

The name of the Library where the To Output Queue resides.

Merge after days old (DAYS)

This option will allow you to specify how old a spool file needs to be before being included in the move. Say you want to move 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.