Solved

send F12 to a TELNET 5250 session?

Posted on 2012-04-02
6
750 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
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.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

735 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