Page 1 of 1

JCL to Purge All Held output?

Posted: Tue Jul 07, 2015 6:35 pm
by neomaxi
Sometimes I can get 100's of sysout jobs in my held que.
As of right now, I have to put a "P" on every one to purge.. which seems tedious. Is there a way in JCL i can just purge all my held output??

Posted: Tue Jul 07, 2015 8:09 pm
by William Collins
You should be able to do a block purge if you are talking about SDSF. Talk to your technical support for anything they have which would allow something by running a job. Avoid taking stuff from the internet and then breaching your site security by trying to run it.

Posted: Tue Jul 07, 2015 8:29 pm
by neomaxi
William Collins wrote:You should be able to do a block purge if you are talking about SDSF. Talk to your technical support for anything they have which would allow something by running a job. Avoid taking stuff from the internet and then breaching your site security by trying to run it.

I asked them, they don't know of anyway to do that.

Do anyone do a block purge, if so , what is the commmand? othewise if you use JCL, can you post it?

Posted: Wed Jul 08, 2015 3:09 am
by William Collins
You start your block with //, end it with //p, press enter and confirm.

Posted: Thu Jul 09, 2015 2:59 am
by neomaxi
William Collins wrote:You start your block with //, end it with //p, press enter and confirm.
Awesome! Thanks!