You will have to loop through the result set of the stored procedure like this:
Code:
call MySchema.MySP(z_Parm1,z_Parm2,z_Parm2);
ASSOCIATE RESULT SET LOCATOR (local_RS_Locator) with procedure MySchema.MySP;
ALLOCATE Local_Cursor CURSOR for result set local_RS_Locator;
SET ENDTABLE = 0;
open Local_Cursor;
fetch Local_cursor into col1,col2,col3;
WHILE (endtable = 0) do
insert into MySchema,MyTable values (col1,Col1,col3);
fetch Local_cursor into col1,col2,col3;
end while;
Andy