Plex 2E

Building .NET Interface for RPG API functions from a LIBRARY Model

  • 1.  Building .NET Interface for RPG API functions from a LIBRARY Model

    Posted Jul 29, 2016 10:32 AM

    I have a LIBRARY model with several RPG/API functions defined  - that I now want to invoke using .NET from a separate Model

     

    When defining locally  - the OBIn.cs/OBOut.cs Interfaces are generated correctly allowing me to 'call' the functions from my .NET app and use the functions as I want to -

     

    For RPG/API defined in  a LIBRARY model  - When I include these objects in the Package in my LOCAL model - I get an error when generating..

    "Cannot load large property for action diagram 'System Utilities.XP QCMDCHK with Return Code'."

     

    A -  Why is the generator trying to load the Large property as this is defined as an API  -

     

    is there a way to generate these interfaces referencing library model objects? - or am I stuck with building the package from the Library model in that library model and using with my local application ?

     

     

    ideas/Best Practice ?