On 9 Aug 2007 06:32:59 -0700, [EMAIL PROTECTED] (john
gilmore) wrote:

>Unambiguous reference to any <jobstepname>.<procstepname> value is supported 
>in IF-THEN-ELSE-ENDIF statements that test RC values.

I'm not quite getting how to do this.    I ran the following test
using condition codes and an in-line proc:

//SKIPSTEP   PROC
//MYGEN1     EXEC PGM=ICEGENER
//SYSPRINT   DD DUMMY
//SYSUT2     DD SYSOUT=A
//SYSUT1     DD DUMMY
//SYSIN      DD DUMMY
//MYGEN2     EXEC PGM=ICEGENER
//SYSPRINT   DD DUMMY
//SYSUT2     DD SYSOUT=A
//SYSUT1     DD DUMMY
//SYSIN      DD DUMMY
//MYGEN3     EXEC PGM=ICEGENER
//SYSPRINT   DD DUMMY
//SYSUT2     DD SYSOUT=A
//SYSUT1     DD DUMMY
//SYSIN      DD DUMMY
// PEND
//*MYTEST EXEC SKIPSTEP,COND.MYGEN2=(4093,NE)    UNLIKELY CONDITION
CODE
//*MYTEST EXEC SKIPSTEP,COND.MYGEN2=(0,LE)         ALWAYS CONDITION
CODE
//***IF MYTEST.MYGEN2.RC . . .
//MYGEN1.SYSUT1 DD *
                    STEP 1
//MYGEN2.SYSUT1 DD *
                    STEP 2
//MYGEN3.SYSUT1 DD *
                    STEP 3
//

Changing the condition code to MYGEN1 failed, due to an oversight in
the design of condition codes that we have discussed before in this
newsgroup.

I'd like to test with the IF statement here - could you show me the
syntax for this particular test?

Thanks

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