Here’s the work-around I’ve used:
Rather than having the result set returned directly, in the stored procedure, write your results into a temp file. Return a SELECT * on the temp file as your result set. In your RPG program, read the temp file instead of the result set.
Sheldon Linker (firstname.lastname@example.org)
Linker Systems, Inc. (www.linkersystems.com)