10 pts.
 Spool File – Job Log Cleaning
Is there any command or process to delete all Job logs generated in the Spool files of different Users' Profiles (file named QPJOBLOG) for a certain Date Period given? Would appreciate please give in details.

Thanks in Advance.

Sajjad Ali.



Software/Hardware used:
ASKED: May 15, 2010  1:12 PM
UPDATED: May 17, 2010  1:20 PM

Answer Wiki:
There is no such command that is provided with the system. It is possible to write such a command if you need one. However, two alternatives make it possibly pointless. First, V5R4 has a new command -- Delete Expired Spooled files (DLTEXPSPLF). By setting an expiration date for the QPJOBLOG print file, you can delete all QPJOBLOG spooled files that have reached their expiration date. This command deletes <b>all</b> expired spooled files, so other printer files might also be deleted. Second, system cleanup can delete system spooled files on an expiration schedule that you set up. Use GO CLEANUP to see how to set up cleanup options and to start the automatic cleanup. This feature has been available for releases going quite a ways back. Tom
Last Wiki Answer Submitted:  May 17, 2010  5:04 am  by  TomLiotta   108,310 pts.
All Answer Wiki Contributors:  TomLiotta   108,310 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _