There is a program from Mr Saint-flour that can help you.
It's in CBT file 183.

   CMDJ      Send a JES2 command with the current job's number      
             (must be authorized)                                   
                                                                    
             Example:                                               
                                                                    
                //PURGEJOB EXEC PGM=CMDJES2,PARM=P                  
                                                                    
             If the current job's number is JOB01234,               
             then the following command is issued:                  
                                                                    
                   $PJ  01234                                       

Atenciosamente / Regards / Saludos 

Ituriel do Nascimento Neto 
Banco Bradesco S/A 
4254 - DPCD Engenharia de Software 
Sistemas Operacionais Mainframes 

Tel: +55 11 4197-2021 R: 22021 Fax: +55 11 4197-2814 

 

|-----Mensagem original-----
|De: IBM Mainframe Discussion List 
|[mailto:ibm-m...@bama.ua.edu] Em nome de Bob Shannon
|Enviada em: terça-feira, 27 de outubro de 2009 09:56
|Para: IBM-MAIN@bama.ua.edu
|Assunto: Re: JES2 - keeping only selected outputs
|
|> is there a way to keep job output only if the RC > 0 ?
|
|If you have some type of automation, you can periodically 
|start a batch job that uses the SDSF Rexx interface to check 
|the RC and delete what isn't wanted.
|
|Bob Shannon
|Rocket Software
|
|----------------------------------------------------------------------
|For IBM-MAIN subscribe / signoff / archive access 
|instructions, send email to lists...@bama.ua.edu with the 
|message: GET IBM-MAIN INFO Search the archives at 
|http://bama.ua.edu/archives/ibm-main.html
|

<HTML><font face="Tahoma" size="1"><HR>AVISO LEGAL <br>Esta mensagem é 
destinada exclusivamente para a(s) pessoa(s) a quem é dirigida, podendo conter 
informação confidencial e/ou legalmente privilegiada. Se você não for 
destinatário desta mensagem, desde já fica notificado de abster-se a divulgar, 
copiar, distribuir, examinar ou, de qualquer forma, utilizar a informação 
contida nesta mensagem, por ser ilegal. Caso você tenha recebido esta mensagem 
por engano, pedimos que nos retorne este E-Mail, promovendo, desde logo, a 
eliminação do seu conteúdo em sua base de dados, registros ou sistema de 
controle. Fica desprovida de eficácia e validade a mensagem que contiver 
vínculos obrigacionais, expedida por quem não detenha poderes de representação. 

<HTML><font face="Tahoma" size="1"><HR>LEGAL ADVICE <br>This message is 
exclusively destined for the people to whom it is directed, and it can bear 
private and/or legally exceptional information. If you are not addressee of 
this message, since now you are advised to not release, copy, distribute, check 
or, otherwise, use the information contained in this message, because it is 
illegal. If you received this message by mistake, we ask you to return this 
email, making possible, as soon as possible, the elimination of its contents of 
your database, registrations or controls system. The message that bears any 
mandatory links, issued by someone who has no representation powers, shall be 
null or void.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to