I have a piece of code that use TELNET to switch to another session on the same box to run another inquiry application with a different hardcoded userid.
The reason of that is to have this query application fully transparent to the user.
My problem is that the users do not allways take care of the fact that they are in TELNET in instead of using <ATTN> <99> <enter> to come back to the original session they initiate a brand new session login on twice.
In the past, we had two boxes and this function was run using STRPASTHR and terminated using ENDPASTHR, but now with TELNET, i do not find any exit command.
Is there a better way to do that ?