Replies: 3 comments 8 replies
-
Interesting. If you run the command yourself from a PASE shell, do you get the same result? TERM=xterm /QOpenSys/pkgs/bin/tn5250 env.DEVNAME=PCS2561_4 localhost |
Beta Was this translation helpful? Give feedback.
-
Figured I would just update: I'm not familiar with tn5250 traces, but this is what I'm getting in the trace file and from what I can tell I'm not seeing any errors.
The "flashing" behavior, I realized it almost looks as if it is successfully connecting, but then immediately disconnecting. I feel like I can briefly make out what I believe to be a 24x80 screen within the session. I'm still trying to read up on configuring tn5250 on the server. I strongly suspect it's a setting on our server, just not sure which one. If I figure it out, I'll update here. |
Beta Was this translation helpful? Give feedback.
-
I stumbled on the issue. So I knew the device description could only be used by a single session, so I had logged out of the PCS2561_4 session via ACS before attempting any connections with TN5250. However, I only logged out of the system and left the window opened at the sign on screen. I have no idea why I didn't consider sitting at the sign on screen as an open connection. As far as telnet and the system is concerned, it is still an open connection under the device description. |
Beta Was this translation helpful? Give feedback.
-
Running
which tn5250
returns:/QOpenSys/pkgs/bin/tn5250
Running
tn5250 -version
returns:tn5250 0.17.6
Using the same profile, I'm able to connect with Code for IBM i and open a PASE terminal without issue. However, it seems when attempting to open a 5250 session, a "green screen" flashes momentarily before switching to a PASE terminal. In the resulting PASE terminal, it contains
TERM=xterm /QOpenSys/pkgs/bin/tn5250 env.DEVNAME=PCS2561_4 localhost
in the session history.The flash is quick, but long enough to be certain it only occurs when trying to open a 5250 terminal. Opening PASE directly does not produce the behavior.
The system I'm connecting to requires a device description to exist before connecting. I have it configured to prompt for the device name, and I enter a name which is successful when using ACS.
I have tried disconnecting, then using "Connect and Reload Server Settings." as mentioned in the docs, but it doesn't seem to make a difference.
Anyone have any ideas? It would be amazing if I didn't have to switch back and forth between ACS's 5250 and VSCode!
Beta Was this translation helpful? Give feedback.
All reactions