Midrange News for the IBM i Community


Posted by: Bob Cozzi
Rogue Programmer
Cozzi Productions, Inc.
Chicagoland
Prevent DLTSPLF or Option 4 for SPOOL Files
has no ratings.
Published: 31 Aug 2012
Revised: 23 Jan 2013 - 1979 days ago
Last viewed on: 25 Jun 2018 (3977 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

Prevent DLTSPLF or Option 4 for SPOOL Files Published by: Bob Cozzi on 31 Aug 2012 view comments(3)

I have users who create reports at month-end. I've built a hook into the Print Monitoring exit point via a data queue. When a report is created on any outputq by the use, that report is copied to an archival outq for safekeeping.

Sadly, when the user does WRKSPLF they also see the copied SPOOL file now in the Archive outq, and often will just delete it along with their own reports once they've printed hard copy.

We need to keep these for archival purposes, however.

I'm looking for an exit point or SPOOL File Attribute that says "you can't delete this". Any suggestions?

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS