my user have so many spool files that are not been deleted. i was wondering if there is a way to search for a specific file or a different way for me to search? i only use the page up and down to see everything.
Software/Hardware used:
as400 power 720
ASKED:
June 12, 2012 6:34 PM
UPDATED:
June 12, 2012 10:55 PM
WRKSPLF press F4 (prompt)
Write your own utility that will display spool files by user or what ever. Then let you sort, position to, move to another outq, hold, save, print, or delete.
CharlieBrowne, Philpl1jb, NickHutcheson1. thanks for all your answers. after ‘WRKSPLF’ then F4 i did see a range where i can put the date of the specific spool files i need.
Searching is much easier if you create spooled files that can be searched for.
An example way to do this is with OVRPRTF USRDTA(<mydata>). You might put a program name into the user data or an application name or any other identifying string. Different strings could be associated with different functions.
Once that’s done in your programming. you can use the USRDTA() value in WRKSPLF to list only those spooled files. If it’s combined with appropriate form types, spooled file names and users’ names, it’s very easy to create lists that have only what you need.
Of course, it requires creating applications that generate useful spooled files.
You might also consider using iSeries Navigator to bring up lists of spooled files. That has a lot more functionality than WRKSPLF. If iSeries Navigator is too heavy for you, there is also WRKSPLF.EXE in your iSeries Access /Program Files directory. Lighter weight, and just about as configurable.
Tom