I got a cc 828 on the following clist code, and the %USERPROC executed
even though the condition seems to be false. I tried adding &STR and
enclosing parentheses, but neither helped. The explanation of 828 in the
documentation was clear as mud: WTF is an "exclusive comparison operator"
and in what context is only one allowed?

IF (&STR(&SYSDSN(LIB.CLIST(USERPROC))) EQ &STR(OK)) |    +  
   (&STR(&SYSDSN(LIB.REXX(USERPROC)))  EQ &STR(OK)) THEN +  
   %USERPROC

>From the manual:

  828      | More than one exclusive comparison operator found.
 
-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     ISO position; see <http://patriot.net/~shmuel/resume/brief.html> 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

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