Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to delete multiple spool files 1

Status
Not open for further replies.

GAORR

Programmer
Nov 22, 2001
48
CA
A job creates multiple spool files with the same name ie. OE0800PR in a particular queue. I'm trying to use DLTSPFL to remove all occureneces from the queue. So far, I'm not having any luck. If there is only 1 in the queue, I can get it to work, but not with multiples. I've tried using *SELECT for SPOOLED FILE but keep getting - FILE(*SELECT) conflicts with other parameters. Tried all I can think of.
Any ideas?
 
You can override the print file when the spool file is created to put something special in the User Data field, and then

DLTSPLF FILE(*SELECT) SELECT(*ALL *ALL *ALL user_data)




"When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for here you have been, and there you will always long to return."

--Leonardo da Vinci

 
Thanks, just what I needed. A star for you !!!!!
 
Just a work of caution, it will delete all spoolfiles on the system with that user data, not just the ones in a specific outq.


"When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for here you have been, and there you will always long to return."

--Leonardo da Vinci

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top