Does the JES2 parm on the $PO command help? CC=(ABEND|ABENDED|CANcelled|CNVT_abend|CODE| COMPleted|ENDed_by_cc|EOM_failure|JCLerror| SECurity_failure|TYPE) Specifies the completion information associated with the job. ABENDED Specifies only jobs which have abnormally ended. ABEND Specifies the ABEND code associated with the job's termination. CANcelled Specifies only jobs which were cancelled by the operator. CNVT_abend Specifies only jobs which have abnormally ended during the conversion phase. CODE Specifies the last (or highest) completion code of steps in the job. COMPleted Specifies only jobs which completed. ENDed_by_cc Specifies only jobs which were ended by a step completion code. EOM_failure Specifies only jobs which failed in end-of-memory processing. JCLerror Specifies jobs which did not execute due to a JCL error
You could issue $PO,CC=0 or $PO,ENDED_BY_CC=0 (simplification, you need to review the entire command syntax for your requirements) Though I would test that first. Lizette > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf > Of CUNY Yann > Sent: Thursday, February 21, 2013 8:15 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: want to purge all my jobs ended with a RC=0 automatically > > Hi all, > > For some volume reasons, we want to automatically purge jobs that ended with a > RC=0. > But we don't want to do it, for CPU and Spool reasons, with a JES2 command. We > want to do it automatically. > I'm sure that somebody already had the same need, no ? > > Any Idea ? > > Thank in advance ... > > Yann > > > Ce message est confidentiel; Son contenu ne represente en aucun cas un engagement > de la part de AXA Technology Services (AXA Tech) sous reserve de tout accord conclu > par ecrit entre vous et AXA Technology Services (AXA Tech).Toute publication, > utilisation ou diffusion,meme partielle, doit etre autorisee prealablement. Si vous > n'etes pas destinataire de ce message, merci d'en avertir immediatement l'expe- > diteur. > > This message is confidential; its contents do not constitute a commitment by AXA > Technology Services (AXA Tech) except where provi- ded for in a written agreement > between you and AXA Technology Services (AXA Tech). Any unauthorised > disclosure, use or dissemina- tion, either whole or partial, is prohibited. If you are > not the intended recipient of the message, please notify the sender imme- diately. > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, send email to > lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN