In ECC 6.0, When I do a SLIN on a program it says STOP command is obsolete. I need to fix this issue. What purpose does STOP serve ?
Also, my program's logic is like this..
START-OF-SELECTION.
perform xxx.
If condition 1 is true.
<< do something >>
STOP.
endif.
sss = hhh.
Perform ggg.
END-OF-SELECTION.
What if the original developer had written like this eliminating the STOP ...
If condition is true.
<< do something >>
else
sss = hhh.
Perform ggg.
endif.
Wouldn't have this worked ? why did he use a STOP statement there ? Any tips ?
thks