# Escape Top (r)

**URL:** <https://techcommunity.softwareag.com/t/escape-top-r/59882>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes\
**Created:** [March 30, 2005, 5:57am UTC](https://techcommunity.softwareag.com/t/escape-top-r/59882 "2005-03-30T05:57:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![DaveLaw](https://avatars.discourse-cdn.com/v4/letter/d/65b543/32.png) [@DaveLaw](https://techcommunity.softwareag.com/u/DaveLaw)\
**Post date:** [March 30, 2005, 5:57am UTC](https://techcommunity.softwareag.com/t/escape-top-r/59882/1 "2005-03-30T05:57:49Z")

</div>

Hi,  
about a hundred years ago (well, sometime in the last millenium!) I requested some extensions to Escape…

- Escape Module has been implemented, thanks. 😃
- Escape Top (r) is still missing & still just as important as Escape Bottom (r) ☹  
How about it guys?  
Regards,  
DaveLaw

---

<div class="post-metadata">

**Author:** ![Finn\_the\_Dane](https://avatars.discourse-cdn.com/v4/letter/f/c57346/32.png) [@Finn\_the\_Dane](https://techcommunity.softwareag.com/u/Finn_the_Dane)\
**Post date:** [April 7, 2005, 6:49pm UTC](https://techcommunity.softwareag.com/t/escape-top-r/59882/2 "2005-04-07T18:49:11Z")

</div>

Hi Dave,  
The escape bottom (r) has been implemented for some time (might even be last milleneum 😉  
I’ll let the “escape top (r)” hang for the dev guys to answer.  
Finn

snap from doc:  
ESCAPE BOTTOM [(r)] [IMMEDIATE]

---

<div class="post-metadata">

**Author:** ![DaveLaw](https://avatars.discourse-cdn.com/v4/letter/d/65b543/32.png) [@DaveLaw](https://techcommunity.softwareag.com/u/DaveLaw)\
**Post date:** [April 8, 2005, 7:19am UTC](https://techcommunity.softwareag.com/t/escape-top-r/59882/3 "2005-04-08T07:19:11Z")

</div>

Hej Finn (er det maaske een Finn jeg kender?),

the request was actually only for Escape Top (r) (see Subject) & was  
inspired by Escape Bottom (r).

I really don’t know why they did one & not the other, its a pain having  
to escape-bottom from a dummy loop to get what you need.

Regards,  
[David.Law@apconsult.de](mailto:David.Law@apconsult.de)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 8, 2005, 12:18pm UTC](https://techcommunity.softwareag.com/t/escape-top-r/59882/4 "2005-04-08T12:18:25Z")

</div>

Escape bottom from a dummy loop ?

Now you got me confused 😉

What an ESCAPE TOP would mean ist a re-iteration, i.e. start the current loop over, is this what you are looking for ?

Did you raise a C/E for this, which is the official way to request enhancements ?

---

<div class="post-metadata">

**Author:** ![DaveLaw](https://avatars.discourse-cdn.com/v4/letter/d/65b543/32.png) [@DaveLaw](https://techcommunity.softwareag.com/u/DaveLaw)\
**Post date:** [April 8, 2005, 12:58pm UTC](https://techcommunity.softwareag.com/t/escape-top-r/59882/5 "2005-04-08T12:58:47Z")

</div>

Its quite simple: if you want to escape to the top of an outer loop,  
the only way to achieve this is to put a dummy repeat loop “just” inside  
the outer loop & escape to the bottom of that! (and remember to escape  
from the outer loop at the end of the dummy loop)

That is a pain in the neck. I put this request (together with  
Escape Module) into SAG’s internal C/E Systems (Cheesy, then SAGSIS)  
over 10 years ago & still nothing has happened. So while I’m glad they  
implemented Escape Module (which, until recently had to be solved by  
enclosing the whole damn module in a dummy Repeat-loop), I’m perplexed  
that Escape Top (r) is still not there.

I expect these forums to be monitored by SAG & used as a source for c/e’s.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 8, 2005, 3:20pm UTC](https://techcommunity.softwareag.com/t/escape-top-r/59882/6 "2005-04-08T15:20:46Z")

</div>

O.k., back on track now, I had something different in mind 😉

I know, you have done it multiple times, but if you have access to SL24, why not add an ER (Enhancement Request) there, the process is a bit different now and includes user (group) voting for C/Es.

---

<div class="post-metadata">

**Author:** ![DaveLaw](https://avatars.discourse-cdn.com/v4/letter/d/65b543/32.png) [@DaveLaw](https://techcommunity.softwareag.com/u/DaveLaw)\
**Post date:** [April 8, 2005, 6:58pm UTC](https://techcommunity.softwareag.com/t/escape-top-r/59882/7 "2005-04-08T18:58:14Z")

</div>

I’m a consultant these days, so its nice at last to have this way to provide input.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:40pm UTC](https://techcommunity.softwareag.com/t/escape-top-r/59882/8 "2021-04-02T14:40:07Z")

</div>


