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
“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…