# \*INIT-ID

**URL:** <https://techcommunity.softwareag.com/t/init-id/62215>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Linux\
**Created:** [May 18, 2007, 3:53pm UTC](https://techcommunity.softwareag.com/t/init-id/62215 "2007-05-18T15:53:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diego](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@Diego](https://techcommunity.softwareag.com/u/Diego)\
**Post date:** [May 18, 2007, 3:53pm UTC](https://techcommunity.softwareag.com/t/init-id/62215/1 "2007-05-18T15:53:49Z")

</div>

Hello all,  
we are migrating from a IBM/VSE Environment to SLES9.  
The problem is:  
we have several programs that use system variable \*INIT-ID to retrieve data from adabas table - this because in VSE this variable contain the physical terminal and is “fixed”.  
Now, on Linux is variable and contain “pts/#”.  
The documentations said that this variable is not modifiable, is there a way to do that? Unless we have to change a lot of program …  
Thanks in advance, best regards

Diego Gazzo

(sorry for my English not so good)

---

<div class="post-metadata">

**Author:** ![Matthias1](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@Matthias1](https://techcommunity.softwareag.com/u/Matthias1)\
**Post date:** [May 21, 2007, 1:02pm UTC](https://techcommunity.softwareag.com/t/init-id/62215/2 "2007-05-21T13:02:09Z")

</div>

Hello Diego!

“pts” is an abbreviation. It means “pseudo terminal slave” and Linux assigns it to the next free number on the system when a terminal session is opened.

I don’t know a way to modify it. But it is unique at runtime and it makes sence to me that it is not modifiable.

Does \*USER (User-ID) help you? It is modifiable and you can assign it to any value you want…

---

<div class="post-metadata">

**Author:** ![Lorenzo\_Alegnani](https://avatars.discourse-cdn.com/v4/letter/l/958977/32.png) [@Lorenzo\_Alegnani](https://techcommunity.softwareag.com/u/Lorenzo_Alegnani)\
**Post date:** [May 22, 2007, 2:35pm UTC](https://techcommunity.softwareag.com/t/init-id/62215/3 "2007-05-22T14:35:41Z")

</div>

Hi Diego  
pts/## is assigned dynamically by Unix OS and is related to pseudo terminal used by telnet / remote login.

This is not related to the remote user or the remote ip logging to linux box  
(like probably it was configured on VSE emulation session) .

As Matthias suggests an alternative is to play with \*USER another is to set \*ETID according remote login information.

---

<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:41pm UTC](https://techcommunity.softwareag.com/t/init-id/62215/4 "2021-04-02T14:41:11Z")

</div>


