# How can I determine if natural is running under ApplinX?

**URL:** <https://techcommunity.softwareag.com/t/how-can-i-determine-if-natural-is-running-under-applinx/98268>\
**Category:** Forum\
**Tags:** Mainframe-Integration, ApplinX\
**Created:** [September 7, 2011, 8:33pm UTC](https://techcommunity.softwareag.com/t/how-can-i-determine-if-natural-is-running-under-applinx/98268 "2011-09-07T20:33:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pedro\_Gonzalez\_Ibeas](https://avatars.discourse-cdn.com/v4/letter/p/7ba0ec/32.png) [@Pedro\_Gonzalez\_Ibeas](https://techcommunity.softwareag.com/u/Pedro_Gonzalez_Ibeas)\
**Post date:** [September 7, 2011, 8:33pm UTC](https://techcommunity.softwareag.com/t/how-can-i-determine-if-natural-is-running-under-applinx/98268/1 "2011-09-07T20:33:14Z")

</div>

Hello,

I would like to know if there is any way to identify in a mainframe using natural code if a natural program is running under a ApplinX session or it is running, by example, under an emulator such EntireConnection.

Natural CICS MAINFRAME 4.2.6 / ApplinX 5.5.2.0038 / Entire Connection Terminal 4.4.1.3

Thanks.

---

<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:** [September 7, 2011, 10:39pm UTC](https://techcommunity.softwareag.com/t/how-can-i-determine-if-natural-is-running-under-applinx/98268/2 "2011-09-07T22:39:26Z")

</div>

I don’t think this is possible, what would you need to know for ?

---

<div class="post-metadata">

**Author:** ![Assaf\_Appel](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@Assaf\_Appel](https://techcommunity.softwareag.com/u/Assaf_Appel)\
**Post date:** [September 8, 2011, 12:01pm UTC](https://techcommunity.softwareag.com/t/how-can-i-determine-if-natural-is-running-under-applinx/98268/3 "2011-09-08T12:01:19Z")

</div>

Hi,

Basically the mainframe doesn’t differentiate between these types of clients but there are other ways to check this.

1. You can track the client IP address which in ApplinX case it will be always the ApplinX server IP
2. You can use specific range of Device Names (LU’s) when you connect from ApplinX

Hope it helps  
Assaf

---

<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:** [September 8, 2011, 2:25pm UTC](https://techcommunity.softwareag.com/t/how-can-i-determine-if-natural-is-running-under-applinx/98268/4 "2011-09-08T14:25:38Z")

</div>

I don’t think you can easily get the IP into Natural, but the terminal id / LU name would presumably be available via \*INIT-ID.

---

<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, 3:00pm UTC](https://techcommunity.softwareag.com/t/how-can-i-determine-if-natural-is-running-under-applinx/98268/5 "2021-04-02T15:00:54Z")

</div>


