See SQLRPGLE – Result Set and any number of other links. Pay special attention to the statement “The interfaces that can work with stored procedure result sets include JDBC, CLI, and ODBC.”
You can call stored procs from SQLRPG. But if you want to process a result set rather than accessing an updated parm value, you need to code SQL CLI APIs. Result sets are intended for ODBC type functions.