Billy's example explains it very well.  

A) "IF" cannot be the first step, thus his IEFBR14 call
B) "IF" only allows numerics.  // IF (&DOTHIS="YES") will not work like you 
want, but // IF (&DOTHIS=1) or // IF (&DOTHIS=0) will work. I don't know how 
high of a value you can check, but I've used up to 5 (for day-of-the-week) 
successfully. 

Wendell

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to