Why not do it as nested Ifs? I would dislike such a complex IF as you are describing in any language.
> -----Original Message----- > From: IBM Mainframe Assembler List [mailto:ASSEMBLER- > [email protected]] On Behalf Of Cali zMan > Sent: Tuesday, December 16, 2014 11:58 AM > To: [email protected] > Subject: Re: SPM Construct > > Gary wrote: > > Don't know about SPMs but is it any easier to code the equivalent "If > > A or (D and (B or C))"? > No, that's why I mentioned the order. 'D' uses the register loaded from 'B' > to address a control block. But if it loaded a negative value, then 'C' > complements it and if it's 0, then exits. So the ('B' or 'C') has to happen > before > the ICM and test at 'D'.
