Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This script will sweep a range of IP addresses (class c only, 255.255.255.0) and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
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.

911 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

20 Experts available now in Live!

Get 1:1 Help Now