A vendor has supplied an RPG program that has 3 input parameters and 2 output parameters. I'm wondering if and how it can be called from SQL.
The RPG *entry plist looks like this:
c *entry plist
c parm in_company
c parm in_location
c parm in_item_no
c parm out_qty_on_hand
c parm out_qty_committed
Can I create a function that wraps this rpg program and then use the function in an sql select statement?
The RPG *entry plist looks like this:
c *entry plist
c parm in_company
c parm in_location
c parm in_item_no
c parm out_qty_on_hand
c parm out_qty_committed
Can I create a function that wraps this rpg program and then use the function in an sql select statement?
Comment