Solved

send F12 to a TELNET 5250 session?

Posted on 2012-04-02
6
760 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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 …
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

752 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