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

EGLSDK generation error on RBD 9.5

  • 1.  EGLSDK generation error on RBD 9.5

    Posted Tue December 29, 2015 11:33 AM

    Hi,

    When i generate the workspace from within RBD, it gets generated correctly and i can generate and transfer programs to system i.
    Whenever i want to do the same with EGLSDK, syntax problems occur.

    I notice that the indicated problems are not correct:
         [java] IWN.VAL.9994.i - 1/1 - Generating part com.xxx..PROGRAM with build descriptor BD from file /opt/.../builddescriptor.eglbld.
         [java] IWN.VAL.9992.e - /.../program.egl - 303/0 - The part PART cannot be generated because the part PART_ACTION contains validation or syntax errors.
         [java] IWN.VAL.9997.e - 0/0 - Generation failed for com.....PROGRAM.

     

    The error on this file:

         [java] Processing Part: CH9ABBD
         [java] IWN.VAL.9989.i - 1/1 - /.../CH9ABBD.egl
         [java] IWN.VAL.9989.i - 1/1 -   CH9ABDD_EXECUTE(CH9ABBD_DETAIL);
         [java] 
         [java] IWN.VAL.9989.i - 1/1 -   <------------->
         [java] IWN.VAL.9989.i - 1/1 - IWN.VAL.5109.e 156/3 CH9ABBD - Function CH9ABDD_EXECUTE requires exactly 0 argument(s). At line 156 in file /opt/.../CH9ABBD.egl
         [java] IWN.VAL.9989.i - 1/1 - -------------------------------------------------------------------------------
         [java] IWN.VAL.9989.i - 1/1 - 
         [java] IWN.VAL.9989.i - 1/1 - 

     

    In the log file, you can see that i am doing a full workspace build and it succeeds, afterwords i am invoking EGLSDK and it fails..

     

    Niek_Vandael


  • 2.  Re: EGLSDK generation error on RBD 9.5

    Posted Thu December 31, 2015 05:18 AM

    I have found the error and the solution.

    Error:

    For some reason (don't know why...), imports to functions in the same EGL program where declared.
    This is no problem for generating via workbench, but EGLSDK will throw the error described above.

     

    Solution:

    organize imports

    Niek_Vandael