Solved

Attachmate Reflection 14.  Looking for numeric value for rcIbmPf2Key (IBM3270 emulation).  Is there a list of values?

Posted on 2009-05-19
1
756 Views
Last Modified: 2013-12-26
I am trying to communicate with my IBM3270 session via Powerbuilder.  I have been able to use the TransmitTerminalKey() and TransmitANSI() functions within the application.  I got the numeric values of the Enter and Clear key from various web postings.  I have not seen anyone passing the PF2 key.  I tried the reflection constant but it does not appear to work within powerbuilder.

Does anyone know the numeric representation of the constant enumeration rcIbmPf2Key?  Is there somewhere that lists these values?  I've look for hours.  The Reflection website doesn't seem to have any answers.

Any assistance is appreciated.
Works for Attachmate Extra -->//    lole_session.SendKeys("<Pf2>")
Fails -->lole_session.TransmitTerminalKey("rcIbmPf2Key") 
 
works -->lole_session.TransmitTerminalKey(289)  // Enter
works -->lole_session.TransmitTerminalKey(277)  // Clear

Open in new window

0
Comment
Question by:rtgreen79
1 Comment
 

Accepted Solution

by:
rtgreen79 earned 0 total points
ID: 24440571
I've used the VB interface to capture the value myself.  Reflection has an integrated VB interface.
works -->lole_session.TransmitTerminalKey(379)  // PF2
works -->lole_session.TransmitTerminalKey(405 // Tab
works -->lole_session.TransmitTerminalKey(289)  // Enter
works -->lole_session.TransmitTerminalKey(277)  // Clear
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Command to modify Registry entry 5 109
how to add fields in script 20 53
Message Logon Windows 2012 R2 Server 16 24
VB Script: Correction backup files and folders v3 11 24
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

775 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