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

Auto Generation of Mixed Attribute when Genning EGL map

  • 1.  Auto Generation of Mixed Attribute when Genning EGL map

    Posted Mon October 09, 2017 10:42 PM

    Hi,

    We are working on allowing DBCS character to be entered on our online screens.  In EGL map, we have changed the definition to use MBCHAR.  Then, when we genned this map we enabled mfsExtendedAttr = Yes in the build descriptor.

    We checked the MFS.SOURCE created, the Extended Attribute cannot be found.  We have to manually update the source to add EATTR=MIX then recompile, for this change to work.

    Our question is - is there a way to automate the inclusion of EATTR=MIX during Gen itself?  We will be modifying many screens to allow DBCS character, it will be a bit challenging to maintain these codes if there was manual change everytime.

    Thank you very much!

     

    Regards,

    Thea

     

     

    Thea D


  • 2.  Re: Auto Generation of Mixed Attribute when Genning EGL map

    Posted Sun October 15, 2017 08:12 AM

    Hi Thea,

    What's the RBD version did you have installed ? This bug was fixed in the RBD version 9.5, 9.1.1.1 and 9.0.1. I have installed RBD v.9.5 and it's work fine.

     

    Regards,

    Hsieh

    Hsieh


  • 3.  Re: Auto Generation of Mixed Attribute when Genning EGL map

    Posted Sun October 15, 2017 09:56 PM

    Hi Hsieh,

     

    We have RBD version 9.1.0 installed.  We will try to update to v9.5 and let you know.  Thank you for your reply!

     

    Regards,

    Thea
     

    Thea D


  • 4.  Re: Auto Generation of Mixed Attribute when Genning EGL map

    Posted Mon October 16, 2017 06:54 AM

    Hi Hsieh,

     

    I've updated to v9.1.1.1 but the issue is not fixed.

     

    I also tried to install v9.5 but EGL is not in the list of valid preferences.  I will need this to enable VisualAge Generator compatibility.  Can you please advise?

    Thea D

    Attachments



  • 5.  Re: Auto Generation of Mixed Attribute when Genning EGL map

    Posted Mon October 16, 2017 08:13 AM

    It's very strange. This is  the apar that fixed it PI35401: MFS EXTENDED ATTRIBUTES NOT GENERATED CORRECTLY FOR SCS1 PRINT DEVICES THAT USE DBCHAR OR MBCHAR.

     

    this link you can saw all RBD version release and apars http://www-01.ibm.com/support/docview.wss?uid=swg27024554

     

    You can tried start RBD with -clean param.

     

    Hsieh


  • 6.  Re: Auto Generation of Mixed Attribute when Genning EGL map

    Posted Mon October 16, 2017 12:19 PM

    Watch in RBD preference and the EGL capabilities are enable ?

    HsiehShin


  • 7.  Re: Auto Generation of Mixed Attribute when Genning EGL map

    Posted Mon October 16, 2017 01:16 PM

    According to the source code for generation of MFS forms, it looks like it will generate the EATTR=(MIX) if the text form being generated is using a MFS build descriptor device type of DBCS or a device that has defined extended attribute set to YES, and that the field being generated was defined as MBCHAR.

    It sounds like that is what you are trying to do, so if you could open up a PMR and attach the EGL build descriptor, and EGL form source, then I could see what is wrong.

     

    JeffDouglas


  • 8.  Re: Auto Generation of Mixed Attribute when Genning EGL map

    Posted Mon October 16, 2017 06:52 PM

    HI Jeff,

    I have set build descriptor mfsExtendedAttr = YES and text form field as MBChar and It generated correctly.

     

    AA011046 DFLD LTH=2,POS=(11,46),EATTR=(HD,CD)
    AA011051 DFLD LTH=4,POS=(11,51),EATTR=(HD,CD)
    AA015021 DFLD LTH=5,POS=(15,21),EATTR=(HD,CD)
    AA015031 DFLD LTH=47,POS=(15,31),ATTR=(PROT),EATTR=(MIX,HD,CD)
    AA021002 DFLD LTH=78,POS=(21,2),ATTR=(PROT,HI),EATTR=(HD,CD)
    AA023002 DFLD LTH=79,POS=(23,2),ATTR=(PROT,HI),EATTR=(HD,CD)

     

    Note: RBD 9.5.1

     

     

    Hsieh


  • 9.  Re: Auto Generation of Mixed Attribute when Genning EGL map

    Posted Tue October 17, 2017 03:21 AM

    Hi Hsieh and Jeff,

     

    I installed RBD 9.5.1 but it is same result for me.  I have set mfsExtendedAttr=YES and the text field with mbchar declaration.  I did not get EATTR=(MIX) after generating.

     

    Jeff, can you please send the link for PMR?  I will raise it and upload the files accordingly.  Thank you.

    Thea D


  • 10.  Re: Auto Generation of Mixed Attribute when Genning EGL map

    Posted Tue October 17, 2017 06:44 AM

    Thea,

    Please, attach build descriptor file here.

    Thanks

    Hsieh


  • 11.  Re: Auto Generation of Mixed Attribute when Genning EGL map

    Posted Tue October 17, 2017 07:54 AM

    Hi Hsieh,


    In build descriptor file I can see that extendedAttributes = No, even when I selected yes in mfsExtendedAttr.

    Thea D


  • 12.  Re: Auto Generation of Mixed Attribute when Genning EGL map

    Posted Tue October 17, 2017 09:35 AM

    Hi Jeff, as discussed I also updated "Show MFS Device Properties" then selected Extended Attributes = YES.  I am now able to generate the EGL code as expected with EATTR=MIX.

     

    Thank you!

    Thea D