• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 801
  • Last Modified:

send F12 to a TELNET 5250 session?

Hi,
In C# (or vb.net), with socket, I established a telnet session with a 5250 terminal (as400)
What message have I to send to it in order to send the F12 command?
I tried with hex(134) but is not the corret one.

thanks
0
bobdylan75
Asked:
bobdylan75
  • 3
  • 2
1 Solution
 
Meir RivkinFull stack Software EngineerCommented:
can u post some code just to get an idea?
0
 
Meir RivkinFull stack Software EngineerCommented:
0
 
bobdylan75Author Commented:
th answer is:
ESC + '=' or CHR(27) +"="
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
tliottaCommented:
Be aware that the proposed solution might or might not work at any given time in the future. A "telnet" connection might result in a variety of screens that must be navigated before any programmed interaction can begin. Or a different device type might be assigned that has a different requirement for "F12" (e.g., a VT100 or 3270 device). Or other complications might arise.

Seriously, communication through one of the servers that are provided for interaction with other platforms will be much more reliable for the long term.

Tom
0
 
bobdylan75Author Commented:
Not for my project, thanks. Seriously. Thanks a lot.
0
 
bobdylan75Author Commented:
Sorry I try the solution by myself
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now