I need to call a RPGLE procedure which is in a NOMAIN module and returning a 10 char. Example of the procedure I need to call is as follows:
PRtvChgDesc B Export
dRtvChgDesc PI 10
d P_Name 6 Const
If possible please provide a sample code or example. I am being able to call the procedure from Java using the API ServiceProgramCall. The problem I am facing is unable to get the return value which in this case is 10 char.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!