You have two options to address this issue:
1) You can make use of conversational RPC in order to return the complete result set to the Java client program. For more information on how to do this, please refer to the EntireX documentation. Start with the following section:
c:/Program%20Files/Software%20AG/EntireX/Docu/devkit/rpc_java/advanced.htm#Using_Conversational_RPC
2) Your second option is to include an additional parameter, which would be your restart value. Your subprogram can populate this parameter with the next record to be returned. You Java client will then make sure that this restart value is sent to the Natural subprogram when you do the next call and the next set of records will be returned to you.
Regards
Theo
#Mainframe-Integration#webMethods#EntireX