Of course yes ... But ... no. Our Z/OS lpar is used to submit scripts on distributed servers (windows / unix (all existing !) / Iseries / SAP. The return code of one job is the code returned by the distributed script on the target server. So sometimes (not always, of course), a 123 code could be considered as normal. In this case, a "High RC return code" is coded in TWS to consider this end as normal ...
Cordialement, ___________________________________________ YANN CUNY AXA TECH Transversal Services Tools T + 33 1 55 67 22 49 ___________________________________________ -----Message d'origine----- De : IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] De la part de Edgard Balter Jr. Envoyé : jeudi 21 février 2013 19:27 À : IBM-MAIN@LISTSERV.UA.EDU Objet : Re: want to purge all my jobs ended with a RC=0 automatically Yann, you will get all RC=0 jobs purged and any other job (RC > 0) left on the queue if you code COND=(0,LT) on the JOB statement. Regards, Edgard De: CUNY Yann <yann.cuny.anta...@axa-tech.com> Para: IBM-MAIN@LISTSERV.UA.EDU Data: 21/02/2013 13:07 Assunto: Re: want to purge all my jobs ended with a RC=0 automatically Enviado por: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> That was a possibility. But a RC=12 for example, is considered as a normal completion. That's why we wanted to only purge the "RC=0" jobs. -----Message d'origine----- De : IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] De la part de Peter X. DeFabritus Envoyé : jeudi 21 février 2013 16:57 À : IBM-MAIN@LISTSERV.UA.EDU Objet : Re: want to purge all my jobs ended with a RC=0 automatically In your JES2 parameter member, you can specify the following: OUTCLASS(v) OUTDISP=(PURGE,WRITE) This will cause class v output to be purged if the job does not ABEND, and left on the output queue if it does. On Thu, 21 Feb 2013 15:15:29 +0000, CUNY Yann <yann.cuny.anta...@axa-tech.com> wrote: >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 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 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