Calling RPG program via DEF_MTH_EX / DEF_MAP_EX
Posted: Thu Jan 31, 2019 4:11 am
I've been working on a Web Service that call a function wrappering a reusable part that calls an RPG program. The RPG is called using DEF_MTH_EX / DEF_MAP_EX, and returns a number of NChar and Date parameters. It didnt sends me an error back (or nothing I can see from the logs) but not returning any values as well. Has anybody has worked on DEF_MTH_EX and have it worked?
I tried to isolate the problem, so I created a simple RPG program that returns 1A character with a hard-coded value and it returns a blank. Can anybody see if I missed anything or any place I should be looking for errors? Thanks
I tried to isolate the problem, so I created a simple RPG program that returns 1A character with a hard-coded value and it returns a blank. Can anybody see if I missed anything or any place I should be looking for errors? Thanks