When a query exceeds the maximum processor time, the DB2 governor ends the query and returns an SQL error code of -905. QMF then knows that the governor canceled the query. How QMF treats this information depends on where in a QMF session the governor canceled the query:
The session end might occur during periods when QMF sessions are not allowed. To enforce this restriction, people who attempt to use QMF during such a period of time might be assigned a maximum processor time of zero. This causes the cancellation of any monitored query.
Suppose instead that a cancellation takes effect while the user is scrolling through a report. Then it is likely that a row fetch caused the cancellation. The cancellation leaves the DATA object incomplete. Because DB2 closes the cursor, the DATA object cannot be completed.