Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Exiting from Inner Loop.

Former Member
0 Likes
618

Example.

Loop at I_catsdb.

Loop at I_catsdb_tmp.

endloop.

endloop.

How do I come out of the inner loop on certain conditions?

2 REPLIES 2
Read only

Former Member
0 Likes
357

Please use <b>EXIT</b>.

It will come out of the inner loop.

Read only

Former Member
0 Likes
357

Hi,

Use the EXIT statement..

Loop at I_catsdb.

Loop at I_catsdb_tmp.

  • Check the conditions..

EXIT.

endloop.

endloop.

Thanks,

Naren