COND only works with ONLY or EVEN, not a specific abend code.
Have you tried
// IF (proc.step.rc EQ U111) THEN
to see if it works?

On Mon, Jun 6, 2011 at 5:39 PM, Gainsford, Allen <[email protected]> wrote:
>> Scott Ford said:
>>
>> What about this:
>> //COND2 EXEC PGM=TCOND,PARM=11
>> //A
>> Allen:
>>
>> What about this:
>> //COND2 EXEC PGM=SETCOND,PARM=U111
>> //AA SET ABENDCC=U0111
>> // IF (COND2.RUN=TRUE OR COND2.&ABENDCC=U0111) THEN
>>
>> Scott J Ford
>
> I think you've misunderstood.  My problem is not with creating a return code; 
> that's very easy.  (As I said, we have a trivial utility that does it just 
> fine.)
>
> My problem is how to use either IF statements, or CONDs (IF statements 
> preferred), to allow a job to continue if a particular step abends, but to 
> flush remaining steps if any further step abends.
>
> Regards,
> Allen
>
> ----------------------------------------------------------------------
> 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
>



-- 
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?

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