Try something like this: $P O Sxxxxx-xxxxx,JM=yourSTCname
-----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Eric Bielefeld Sent: Thursday, April 12, 2012 2:40 PM To: [email protected] Subject: Re: How to Purge Multiple Started Tasks from Output Q John - Thanks. It wasn't exactly what I was looking for, but it worked a lot better than putting a P in front of everything in SDSF. I didn't want to purge everything, but I was able to purge large groups at a time, so it didn't take too long. I don't know why I didn't think of that myself. I thought there was a command that you could give a jobname or STC name and purge multiple jobs or STCs. -- Eric Bielefeld Systems Programmer ---- "McKown wrote: > Since I rarely want the output from STCs, I just do a $PS1-999999 and be done > with it. If I do need the output, then I don't use a "started task", but a > "started job". That way, I can code the JOB card and use the MSGCLASS=x in > order to direct the output to our sysout archive software. > > -- > John McKown > Systems Engineer IV > IT > > Administrative Services Group > > HealthMarkets(r) > > 9151 Boulevard 26 * N. Richland Hills * TX 76010 > 817) 255-3225 phone * > [email protected] * www.HealthMarkets.com> > -----Original > Message----- > > From: IBM Mainframe Discussion List [mailto:[email protected]] On > > Behalf Of Eric Bielefeld > > Sent: Thursday, April 12, 2012 11:37 AM > > To: [email protected] > > Subject: How to Purge Multiple Started Tasks from Output Q > > > > I have a started task that kept failing. It actually used all the > > available job numbers up. I need to purge all of the output from > > this job, but keep getting error messages. > > > > Here is one of the commands I use: > > > > $P S'OSNMPD',OUTPUT,ALL > > $HASP003 RC=(78),P S'OSNMPD' - MULTIPLE JOBS FOUND > > > > I basically want to purge all of the OSNMPD started task output > > from the output Q. > > > > What command will do that? > > > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately. Thank you. Aetna ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN

