EGL Development User Group

EGL Development User Group

EGL Development User Group

The EGL Development User Group is dedicated to sharing news, knowledge, and insights regarding the EGL language and Business Developer product. Consisting of IBMers, HCL, and users, this community collaborates to advance the EGL ecosystem.

 View Only
Expand all | Collapse all

EGL function key mapping

  • 1.  EGL function key mapping

    Posted Wed August 26, 2015 12:44 PM

    Hi Folks,

    I'm debugging a TUI Programa and I tried to use the function key PA1 (ctrl+F1), PA2 (ctrl+F2) and P3 (ctrl+F3) but it isn't work and as documentation.

    I'm debug in windows and  RBD v.9.1.1

    Table 1. EGL function key mapping
    Function EGL key mappings in Windows EGL key mappings on Linux and AIX®
    PF1-PF12 F1-F12 F1-F12
    PF13-PF24 Shift+F1-F12 Press Ctrl+S and then press F1-F12
    PA1-PA3 Ctl+F1-F3 Press Ctrl+A and then press F1-F3

    http://www-01.ibm.com/support/knowledgecenter/SSMQ79_9.1.1/com.ibm.egl.lr.doc/topics/regl_ui_text_validation_bypass_keys.html?cp=SSMQ79_9.1.1%2F7-2-4-9-11-7-6

     

    What's happening ?

    Hsieh


  • 2.  Re: EGL function key mapping

    Posted Wed August 26, 2015 03:14 PM

    Hsieh,

    You don't say what is "not" working, but I wrote a simple program to test the aid keys.  It is attached.  Can you try it.

    And to be clear.... Ctl+F1 means the Ctrl and the F1 key at the same time.

    maybe it is related to your code page if it is not working, but give this a try and if it works, then we can compare to your program.

    Mark

    markevans


  • 3.  Re: EGL function key mapping

    Posted Wed August 26, 2015 04:13 PM

    Mark,

    Thanks for sample.

    After check the customer application and I saw the egl condition code is for bypass and not PAx

    converseVar.eventKey is/not bypass

    The customer program code uses bypass as PAx.

    When the program executed in 3270 terminal and press PAx key, the condition:  converseVar.eventKey is bypass  ... is true

     

    and executed in EGL Debug, the condition:  converseVar.eventKey is bypass  ... is false

     

    I added a new condition in your sample

                case (conversevar.eventkey)

                    when (bypass)
                        aidfm1.keyname = conversevar.eventKey;

                    when (Enter)
                        aidfm1.Keyname = "ENTER";
                    when (PF8)
                        aidfm1.keyname = "PF8";
                    when (PA1)
                        aidfm1.keyname = "PA1";
                    when (PA3) 
                        aidfm1.keyname = "PA3";
                    otherwise
                        aidfm1.keyname = conversevar.eventKey;

    when press PAx is not step into.

     

    Hsieh


  • 4.  Re: EGL function key mapping

    Posted Wed August 26, 2015 05:18 PM

    Ok.. I see what you are talking about now.

     

    Please open a PMR for this.

     

    Mark

    markevans


  • 5.  Re: EGL function key mapping

    Posted Thu August 27, 2015 08:31 AM

    Thanks !  PMR was open.

    Hsieh