Hi Kari, Im guessing a bit here but if you meant:
kappasvaan wrote:
dotnet calls stored procedure in DB2 and that calls indirectly RPG PLEX program.
then I would point you to
Dynamic Array
In a plex data access function you have fixed output arrays, so for example the BlockFetchSet pattern will get a 'SET' of data (by default 64 records that satisfy the key and programmatic restriction) but it can't get ALL the records that satisfy a set arguement as its ouput array is fixed.
Plex developers therefore use BlockFetches and call them from their tier requiring the 'SET' mulitiple times untill ALL rows are got.
Your stored procedure needs to call the plex data access function multiple times. People have been disappointed about this and have various workarounds such as loading work tables, or increasing the size of the fixed arrays.
If I have missed the point apologies