It works! Thanks for your example... It seems to me that "IF (STEP0001.PRCSTEP3.RC = 0) & (STEP0002.PRCSTEP3.RC = 0) THEN" before STEP0003 is simply the same as "IF STEP0002.PRCSTEP3.RC = 0 THEN"
So in case I need to execute the PROC1 many times, say "STEPnnnn EXEC PROC1", all I need to do is to use "IF STEPnnnn-1.PRCSTEP3.RC = 0 THEN" Paul ---------------------------------------------------------------------- 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