Solved

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

Posted on 2009-05-19
1
757 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Introduction During my participation as a VBScript contributor at Experts Exchange, one of the most common questions I come across is this: "I have a script that runs against only one computer. How can I make it run against a list of computers in …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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 use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

821 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