On Mon, 28 Nov 2011 10:15:52 -0800, John Dawes <jhn_da...@yahoo.com.au> wrote:

>G'Day,
 
Can I override a condition code so as to force it to a 0000?  For example the 
job-step executes successfully and puts out a COND CODE=0002.  The job 
continues on to the next step which is what we want.  The reason I need a 0000 
instead of a 0002 is because I get paged because the operator sees a 0002.
I tried the following by using IDCAMS:
//STEPCOND EXEC PGM=IDCAMS                      
//SYSPRINT DD SYSOUT=*                          
//SYSIN DD *                                    
  IF MAXCC=0002 -                               
  THEN -                                        
  DO -                                          
  SET MAXCC=0  -                                
  END                                           
//*                                             
John,
        I know this won't help your immediate issue, but as of z/OS 1.13, JES2 
has a 'Job Return Code' support which you can then select last step, specific 
step or highest completion code.

Roger 

----------------------------------------------------------------------
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