If you wish to terminate the program when it reaches the outlim, then I
don't think that suppressing the S722 abend can be easily done without
either system level code or building in some kind of abend recovery into the
application. By modifying the PROC, you can allow the job to keep processing:
  //TEBC#1      EXEC PGM=.....
     ..... more JCL here ...
  //REPORT  DD   SYSOUT=*,OUTLIM=500
  // IF TEBC#1.ABENDCC=S722 THEN           
  //S2  EXEC PGM=....
    ......  rest of JCL here ...             
  // ENDIF                             
but step TEBC#1 will still show an S722 abend. All the other steps within
the IF/ENDIF block will still execute, though, when there is an S722 abend.

One way of suppressing the abend would be to front-end the program used in
step TEBC#1 with another program with abend recovery which then converts an
S722 abend if it occurs into RC=0. If the application is LE-based, then
there may be some other options available to you, but just at the moment, I
can't think of any straight-forward way to suppress this abend with just
JCL.

 Bill 

On Fri, 8 Dec 2006 10:12:27 -0700, Howard Brazee <[EMAIL PROTECTED]> wrote:

>On 7 Dec 2006 12:27:22 -0800, [EMAIL PROTECTED] (Big Iron)
>wrote:
>
>>I think that you may be able to use something like TEBC#1.ABENDCC=S722
>>to test for a specific abend.
>
>I tried that yesterday, and it shows the abend - but what I'm wanting
>is to convert the abend into a non-abend.
>

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

Reply via email to