PDA

View Full Version : Automatic Deletion of Spooled File



Guest.Visitor
04-18-2002, 10:01 AM
There are a lot of 3rd-party products that will perform this function. There are even some freeware utilities (try H Krebs's site).

tstone@edwardhine.com
04-24-2002, 11:40 AM
We use the CHGSPLFA CL command To Change the outq there in and then Delete them from that outq using DLTOLDSPLF. This may be a command that was created locally I see no reference to it in the books. I think DLTSPLF would work to. We use these commands in overnight processing.

cle@smurfit.com
05-01-2002, 11:41 AM
I have an utility to do that. Email me at cle@vif.com if you are interested, I will send it in the form of *savf. Also in the old taatool (V3R1) you have DLTOLDSPLF. Mine is based on that tool, but a bit more flexible...because beside the choice of Retention days, it allows other criteria like Status (RDY, SAV, HLD ...)

Guest.Visitor
07-25-2002, 07:55 AM
Use these CL command to help WRKSPLF *PRINT CPYSPLF TO A OUTPUT FILE. USE QUERY TO SELECT THE SPOOL YOU WANT TO DELETE TO A PF IN CL, LOOP THIS FILE, THEN PASS THE KEYWORD FROM THE FILE TO THE DLTSPLF COMMAND BY CHGVAR

Guest.Visitor
08-28-2002, 09:28 AM
If the user does not need a printed copy of the file, have the spooled file automatically go to outq Qezjoblog when it is created. You can do this in the object description for the spooled file. This is what I do for many of our spooled files because Qezjoblog is set up to automatically purge it's contents when they become 4 days old. If the user does need a hard copy and then it goes on 'save' after it is printed, move those files you know you will delete later to a special outq and then clear that outq using option 14 to clear. I Do this once a month. Hope this helps.

Guest.Visitor
08-28-2002, 09:32 AM
I would suggest you write your own spool file utility based on days, or use TAATOOLS DLTOLDSPLF. Set this up where it runs daily, and you can selectively set how long spool resides in each outq. - Keith

Guest.Visitor
08-29-2002, 06:43 AM
We're on V45 and I cant find that TOOLS in our system (QUSRTOOL). Can you tell me where I can find this. Thanks a lot. Sky

Guest.Visitor
08-29-2002, 06:49 AM
You have to purchase these tools from Jim Sloan (Barsa Inc. distributes them for him.)

Guest.Visitor
08-29-2002, 07:00 AM
Sky, Information about TAATOOLS created by Jim Sloan and distributed by Al Barsa can be found at http://www.taatool.com/index.html chuck Opinions expressed are not necessarily those of my employer. "skywalker" <skywalker@mcpressonline.com> wrote in message news:4e6848ec.6@WebX.WawyahGHajS... | We're on V45 and I cant find that TOOLS in our system (QUSRTOOL). Can you tell me where I can find this. Thanks a lot. | | Sky

Guest.Visitor
08-29-2002, 07:05 AM
We have QUSRTOOL but I can find the DLTOLDSPLF program. I read the text from QATTINFO and its there but I dont know which library the source member located so I can install it. I think everything was unpackaged. Thanks again, Sky

Guest.Visitor
08-29-2002, 12:24 PM
Sky, If you're having trouble with QUSRTOOLS you should call Barsa, they're very helpful. BTW, EVERY AS/400 has a QUSRTOOLS library. However, to get the actual tools you need to buy them from Barsa. chuck Opinions expressed are not necessarily those of my employer. "skywalker" <skywalker@mcpressonline.com> wrote in message news:4e6848ec.9@WebX.WawyahGHajS... | We have QUSRTOOL but I can find the DLTOLDSPLF program. I read the text from QATTINFO and its there but I dont know which library the source member located so I can install it. I think everything was unpackaged. | | Thanks again, | Sky

Guest.Visitor
08-30-2002, 04:57 AM
Does anybody know I might be able to automatically delete old spool file on our systems. Right now I have to go to OUTQ and delete it manually. Is there an API that handle this. I will appreciate any help. Skywalker

Guest.Visitor
08-30-2002, 04:57 AM
Thanks for all your inputs, I think I need to inquire from Barsa about this tools. Sky