Hello folks
I believe I have a easy question for you but for me is facing some challenge to understand.
In the program I have these variables setups
GUI DC C'UCB'
SPACE
DVIO DC C'VIO'
SPACE
I have a call like this one :
CLC ZUNITADR(3),DVIO
BNE INITM740
SPACE
Is working successfully.
I make a compare and if the 3 first letters from ZUNITADR is different than 'VIO' I go to INITM740.
What I am looking is to make a logic to if 3 letters from ZUNITADR is different than 'VIO' and different than 'UCB' I go to INITM740 but I do not know exactly how parameter to use.
I thought like below but does not work right?
CLC ZUNITADR(3),DVIO,GUI
BNE INITM740
SPACE
Thank you in advance
CLC ZUNITADR,=C'UCB'
BE ITSUCBVIO
CLC ZUNITADR,=C'VIO'
BE ITSUCBVIO
B INITM740
ITSUCBVIO DC 0H'0'