Solved

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

Posted on 2009-05-19
1
750 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
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

When it comes to writing scripts for a Client/Server computing environment it is essential to consider some way of enabling the authentication functionality within a script. This sort of consideration mainly comes into the picture when we are dealin…
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: …
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

743 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now