I have a small logical function part which decides which one should be executed next. I was trying this from morning not sure if I'm wrong but seems the way I tried was correct. Its a very basic idea. The script counts the no of lines(1255) and if the value is less than 1255 and greater than 0 I need to execute some other function/para. I wrote the condition like this.
IF VAR4 << 1255 AND VAR4 > 0 THEN
CALL FILMAN2
ELSE
CALL PAGEON
CALL FILMAN2
ELSE
CALL PAGEON
Trace shows the value of VAR4 is 1255 and hence the condition should fail and it should execute PAGEON para/function. But it gets a logical value =1( Trace output) and executes FILEMAN2. Please correct me if I'm wrong.
Regards,
Viswa