This error occurs when the process running the query has lost it’s connection to the AppServer. When the query completes on the AppServer it goes to return the data but finds that the client has gone.
Whilst this is most commonly due to a network problem between the machine running the AppServer and the machine running the Scheduler, it can also occur where a large number of records (100,000+) are being returned in a Temp Table. This is due the Java VM that Progress uses as part of the AppServer running out of memory.
If the query is returning a large number of records then the solution would be to increase the amount of memory the AppServer can use.
To get round this problem you need to increase the heap size available to the Java VM and to do this you need to amend the AppServer configuration on the machine which runs your DataPA AppServer.
The line highlighted in yellow needs to be inserted to achieve this and then the AppServer needs stopped and restarted.
The values shown in the setting above should normally suffice but this Progress KB details what the settings options are should these need to be amended:
The Following links to Progress KB entries document all of this.