Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JES2 Command to purge queue

2,386 views
Skip to first unread message

fello...@yahoo.com.hk

unread,
Mar 24, 2009, 2:51:08 AM3/24/09
to
I want to purge all held and output queue older than 7 days.

Which command should I use? What is the difference?

$C O JQ,ALL,A>7
$O JQ,A>7,CANCEL
$P O JQ,ALL,A>7

Thanks,
Fellow Tong

billla...@gmail.com

unread,
Mar 24, 2009, 12:18:47 PM3/24/09
to
You can use either $C O JQ or $P O JQ. I don't think that there is a
difference in this situation.
The $O JQ command will only cancel held output. Certain types of job
output created by OMVS processes
or APPC transactions are classified as PROTECTED. You need to specify
the PROTECTED option to delete
that output.

You will reach more people if you post to the listserv. See web page
http://bama.ua.edu/archives/ibm-main.html
for more information.

Bill

On Mar 24, 2:51 am, "fellowt...@yahoo.com.hk"

fello...@yahoo.com.hk

unread,
Mar 25, 2009, 2:55:20 AM3/25/09
to
> > Fellow Tong- Hide quoted text -
>
> - Show quoted text -

Can I use $T O JQ,ALL,A>7,OUTDISP=PURGE?
Which is better?

Gaur

unread,
Mar 26, 2009, 4:56:40 AM3/26/09
to
> Which is better?- Hide quoted text -

>
> - Show quoted text -


Hi Fellow,

In my view all the three jes2 commands have there specific funtion
however since your requirement is matching with all 3 you getting
confuse...Basically.

1. $C O JQ,ALL,A>7 :- To cancel specific output groups or
individual job output elements created by job ...so I would not
suggest for your requirement this...since if any job which ran in
particular outclass which has outdisp=hold,hold..will stay in the
output queue..

2. $O JQ,A>7,CANCEL :- To release or cancel held output groups.An
output group with an output disposition of HOLD or LEAVE that is not
routed to another node ..
is 'held'. so even this doesn't match with your requirement.

3. $P O JQ,ALL,A>7 :- To cancel a job's output and remove all
traces of the output from the system. & This looks perfect for your
requirement.

fello...@yahoo.com.hk

unread,
Mar 27, 2009, 12:03:03 AM3/27/09
to
> requirement.- Hide quoted text -

>
> - Show quoted text -

Hi Gaur,

I would like to include conditional that only offloaded SYSOUT are to
be deleted. But $C O JQ and $P O JQ do not provide the OFFS filter.
Can I use

$T O JQ,/OFFS=1,A>7,OUTDISP=PURGE

Thanks,

0 new messages