Hi greeting to all
Is it possible to have a logic for a variable at a same time like -
where one is > 2 and another is 98 (don't know) to be accepted.
PROC Q25
if $>2 THEN
ERRMSG ("%D CANNOT BE REQUIRED NUMBER", Q25);
REENTER;
ENDIF;
Note: I want to let it accept 98 also after if $>2.
Thank you.
Need help for Logic
Re: Need help for Logic
try some thing like this
PROC Q25
if $>2 and $ <> 98 THEN
ERRMSG ("%D CANNOT BE REQUIRED NUMBER", Q25);
REENTER;
ENDIF;
PROC Q25
if $>2 and $ <> 98 THEN
ERRMSG ("%D CANNOT BE REQUIRED NUMBER", Q25);
REENTER;
ENDIF;