Spool File – Job Log Cleaning

10 pts.
Tags:
Delete Old Spoolfiles
DLTEXPSPLF
Joblog
QPJOBLOG
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.

Answer Wiki

Thanks. We'll let you know when a new response is added.

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

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following