How to return multiple resultset from a rpgile procedure to a java method
I want a create a procedure to generate 3 different resultsets and these resultset will be returned to a method.
Ihave tried to return multiple resultset ,(If these the program is debugged in green screen it shows all 3 resultset are populated)
However. if the Java procedure is debuged it shows only the first DS as resultset and remaining DS are not returned (Java gets a null if tries to get it)
PS: java method cstmt.getMoreResults() returns false for the resultsets after first.