Please enable JavaScript to view this site.
If you are unsure about how to add scheduled jobs to run the Housekeeping commands then there is an option on the Housekeeping Menu which will do this for you. This can be found from the Cobwebb Fax & Email Menu - System Maintenance - - Housekeeping Menu - Option 4.
Archive the CPPD Queue
First you will be asked if you wish to add a Job Schedule Entry to Archive the CPPD Queue. Entering a Y will allow you to enter the details and prompt for you to select your schedule requirements. This passes your chosen entries to the ARCPPDQ command.
If you first wish to check if there is already a job scheduled to run the Archive Queue press F16 to display the existing Job Schedule entries where the Job Name is prefixed CPPD. If you have changed the default name for the job then you will need to call the WRKJOBSCDE command from a command line.
Note: By default this command uses the Job Description ARCPPDQ which will run the job in QBATCH in QGPL so that it can run outside of the CPPD subsystem.
Archive messages
Specify a number of days. Outgoing messages older than this date will be archived. To change the default entry select Option 6 – Work with system parameters then Option 1 - System parameters and then Option 1 – System parameters again.
Print Option
Specify the entries that you would like to be printed. If printing is requested a complete copy, including text, of all messages which have been archived is printed. This can be used for archiving purposes.
*NONE |
Do not print any entries |
*SND |
Print Sent messages only |
*RCV |
Print Received messages only |
*ALL |
Print All messages |
Press ENTER to add a scheduled job to Archive the Queue.
Save & Clear the CPPD Queue
Next you will be asked if you wish to Save & Clear the CPPD Queue. Entering a Y will allow you to enter the details and prompt for you to select your schedule requirements. This passes your chosen entries to the RGZPPDQ command which is a combination of the Save Queue and Clear Queue functions.
If you first wish to check if there is already a job scheduled to run the Save & Clear Queue press F16 to display the existing Job Schedule entries where the Job Name is prefixed CPPD. If you have changed the default name for the job then you will need to call the WRKJOBSCDE command from a command line.
Note: By default this command uses the Job Description RGZPPDQ which will run the job in QBATCH in QGPL so that it can run outside of the CPPD subsystem.
Temporary Save file library
This is the name that will be given to a temporary library used in the SAVPPDQ command which will be deleted when the Save File has been created. This library must not already exist. NOTE: You will need to use this library name as the "Saved library" if you wish to restore the library from the saved file. This entry is not used if you specify *NONE as the Save file parameter - see below.
Save file name
Enter a meaningful name for your Save File perhaps incorporating the date for future reference. This will make it easier to work out which Save File contains which queue records if you need to restore the file and look at the records. This file must not already exist.
NOTE: If you do not wish to Save the Queue then you may specify *NONE here and then the SAVPPDQ command will not be run just the CLRPPDQ command.
Library
Enter the name of the library where you wish your Save File containing the queue entries to be saved. This library must exist.
Replace existing Save File
If a save file already exists with the above name then you can use this option to overwrite the existing file. Choose *YES to overwrite the save file if it exists or *NO if the save file name you have entered does not exist and you wish the program to create it. NOTE: If you do not specify *YES and the save file already exists then a message will be written to the joblog and the job will end and the CPPD subsystem will not be restarted.
Clear if older than (days)
Specify the number of days for which you wish to keep messages on the queue. The selected queue records will be checked against this parameter and, if older, be printed / deleted according to subsequent entries. If left blank then the default will be used. To change the default entry select Option 6 – Work with system parameters then Option 1 - System parameters and then Option 1 – System parameters again and change the Clear PPD Queue entry.
Clear Sent entries
If you enter a "Y" then entries with status "S" for Sent messages are selected. Note: If you wish to clear the Fax/Email log then you will need to enter "Y" for both this parameter and the "Clear received entries" parameter.
Clear Deleted entries
If you enter a "Y" then entries with status "D" for Deleted messages are selected.
Clear Received entries
If you enter a "Y" then entries with status "R" for Received messages are selected. Note: If you wish to clear the Fax/Email log then you will need to enter "Y" for both this parameter and the "Clear sent entries" parameter.
Clear Waiting entries
If you enter a "Y" then entries with status "W" for Wait messages are selected.
Clear Queued entries
If you enter a "Y" then entries with status "Q" for Queued messages are selected.
Select service
Specify the type of messages that you would like to select.
*FAX |
Only clear Fax message type |
*EML |
Only clear Email message type |
*ALL |
Clear all message types |
Print removed entries
Specify the entries that you would like to be printed. The queue details (not the text) are printed to give one line for each entry selected.
*NONE |
Do not print any messages |
*SND |
Only print Sent messages being removed. |
*RCV |
Only print Received messages being removed. |
*ALL |
Print ALL messages being removed. |