On Mon, Jun 6, 2011 at 8:30 PM, Gainsford, Allen <[email protected]> wrote:
<deleted>
> then, if STEPA abends with U111, STEPB will execute.  But if STEPB also 
> abends, then STEPC and STEPD will still execute, even though they're not the 
> subject of the IF.  I want a way to force STEPC and STEPD to be flushed if 
> STEPB abends.
>
> The only way I've found so far is to surround STEPC and STEPD with their own 
> IF statements, so that STEPC only runs if STEPB explicitly ran and did not 
> abend, and STEPD only runs if STEPC explicitly ran and did not abend.  This 
> is long-winded, tedious, and over-complex.  But so far I haven't been able to 
> find another way.
>
> Regards,
> Allen

3 different sets of conditions, 3 different IFs.

If the desired combinations are just right, nesting IFs might do it,
but not with your desired results.

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