Skip to Content
0
Former Member
Apr 30, 2009 at 09:11 PM

Purpose of STOP..

24 Views

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