Solved

send F12 to a TELNET 5250 session?

Posted on 2012-04-02
6
744 Views
Last Modified: 2012-06-22
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
Comment
Question by:bobdylan75
  • 3
  • 2
6 Comments
 
LVL 42

Expert Comment

by:sedgwick
ID: 37795763
can u post some code just to get an idea?
0
 
LVL 42

Expert Comment

by:sedgwick
ID: 37795769
0
 

Accepted Solution

by:
bobdylan75 earned 0 total points
ID: 37795976
th answer is:
ESC + '=' or CHR(27) +"="
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 27

Expert Comment

by:tliotta
ID: 37798523
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
 

Author Comment

by:bobdylan75
ID: 37799622
Not for my project, thanks. Seriously. Thanks a lot.
0
 

Author Closing Comment

by:bobdylan75
ID: 37818643
Sorry I try the solution by myself
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question