Please enable JavaScript to view this site.

Navigation: Cobwebb Tools Menu

Work with Spooled Files Housekeeping

Scroll Prev Top Next More

(From version 6.2.68 of the Server software only.) The Work with Spooled Files Housekeeping [WRKSPLH] allows you to specify a list of Spooled File tasks that you wish to be performed to help tidy up your Spooled Files. Once you have created an entry and set it to Online it will be processed by the SPOOLTIDY job that runs in the Cobwebb Job Scheduler (unless you have removed this entry). See Activating the Spooled File Housekeeping for details.

For each entry you can specify an Action to perform and a Number of Days after which the spooled file will be selected for processing.

The Work with Spooled Files Housekeeping can be found from the Cobwebb Tools Menu - Option 1.

Type in your choices and then press Enter, this will take you to a second screen. Highlighted entries are those that are Online. Each Online entry will be run the next time the SPOOLTIDY job is scheduled to run.

Position to

Enter the Output Queue Name where you wish to position the list and cursor.

Options

Select one of the following options:

1=Create

Allows you to create a new entry. This option is only valid on the top (entry) line of the display.

2=Revise

Use this option to revise an existing entry.

3=Copy

Copy an existing entry.

4=Delete

Delete an existing entry.

5=View

View the details of an existing entry.

7=Offline/Online

Toggle between Offline and Online for an existing entry. Entries which are Online will be highlighted.

9=Run

Run the selected entry

Entries

Output Queue

The Output Queue from which the spooled files will be selected.

Library

The Library Name where the above Output Queue resides.

File

The Spool File Name used to select the spool files. Use *ALL to select spooled files regardless of their file name.

User Data

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

The User Id used to select the spool files. *ALL if you wish to select all spooled files regardless of their owner.

Spool 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.

Action Type

This is where you decide what you want to do with your selected Spooled Files. Your choices are:

*HLD

To change the status of the selected spooled files to *HELD.

*MOV

To Move the selected spooled files. You will be prompted to enter the Output queue name and Library for the Output Queue to which you wish to move your selected spooled files.

*RLS

To change the status of the selected spooled files to *READY.

*MRG

To Merge the selected spooled files. You will be prompted to enter the destination Output queue name and Library for the generated spooled file.

*DLT

To Delete the selected spooled files.

Action after days

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

Function keys

F3=Exit

Exits the Work with Spooled File Housekeeping screen and returns to the Cobwebb Tools menu, without updating.

F5=Refresh

Refreshes the list of entries

F12=Previous

Exits the Work with Spooled File Housekeeping screen and returns to the Cobwebb Tools menu, without updating.

Page Up

Scrolls up through the list

Page Down

Scrolls down through the list