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
  • 1.  Easy button - F3 Open on Selection

    Posted Fri October 23, 2015 01:22 PM

    I'm trying opened an egl part using F3 and nothing happens.

     

    DAC10W1_IO_RECORD.CD_DEPTO = DEPARTMENT.CD_DEPTO;

    The cursor is  positioned under variable field CD_DEPTO not opened when press F3.

    If cursor is positioned under record part DAC10W1_IO_RECORD opened when press F3.

     

      try
        get DEPARTMENT
          with ...
      end

    The cursor is  positioned  under record part DEPARTMENT not opened when press F3

     

    converse APP01M2 ;

    The cursor is  positioned  under textform part APP01M2 not opened when press F3

    Hsieh


  • 2.  Re: Easy button - F3 Open on Selection

    Posted Fri October 23, 2015 09:57 PM

    I believe you are using version 9.5.

    This has been fixed and I can provide the fixtest. The feature was erroneously removed as part of the jsf removal.

    Please email me at jeffdouglas@us.ibm.com and I'll provide the fixtest for you.

    Jeff.Douglas


  • 3.  Re: Easy button - F3 Open on Selection

    Posted Sat October 24, 2015 08:07 AM

    Hi Jeff,

    Unfortunately I am still using RBD 9.1.1.

    Do I need opened PMR to get a fix for this version ?

    Thanks for reply.

    Hsieh

    Hsieh


  • 4.  Re: Easy button - F3 Open on Selection

    Posted Sat October 24, 2015 08:19 AM

    It wasn't broken by the jsf removal in that version. Only 9.5, so the fixtest won't help.

    The F3 open selection function requires that the project IRs be there. I suggest that maybe you do a project clean and have the IRs refreshed. Then let's see what happens.

    Jeff.Douglas


  • 5.  Re: Easy button - F3 Open on Selection

    Posted Mon October 26, 2015 08:39 AM

    The reason you are getting a beep if because the field you are trying to do an F3 open on is not bound yet. This is because the code is in a top level function. The variables are not resolved until the program is compiled for generation. A top level function is different than a nested function. The record variable in a top level function is unknown until the program that starts it all is compiled.

    If the function that has DAC10W1_IO_RECORD.CD_DEPTO = DEPARTMENT.CD_DEPTO; in it was part of a nested function instead, then it would know all about the variable and F3 would work.

    This is the way that the EGL editor has worked in the part and nothing is technically wrong.

    Jeff.Douglas