Why not just let the RPG team extract the SQL statements and passI'm with you there. I don't like the pre-compiler either. Procedure calls would be better than the dynamic calls made to the aforementioned programs. You could make your own calls to the CLI procedures; but you've probably already considered that.
the SQL statement to functions written by the SQL Team?