Solved

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

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
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 perform CRUD operations on a MySql database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
Suggested Courses

738 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