IBM's official response:
Allowed use of OFFSET: The offset-clause is only allowed as part of the outer fullselect of a DECLARE CURSOR statement or a prepared select-statement. It is not supported in interactive SQL.
Remember not supported doesn't mean you might not be able to get it to work here or there, but it isn't supported until recent PTF levels of R720 and R730.
Since R720 goes out of support soon, you should be looking at an upgrade anyway.
FWIW - I am doing an upgrade very soon.
Allowed use of OFFSET: The offset-clause is only allowed as part of the outer fullselect of a DECLARE CURSOR statement or a prepared select-statement. It is not supported in interactive SQL.
Remember not supported doesn't mean you might not be able to get it to work here or there, but it isn't supported until recent PTF levels of R720 and R730.
Since R720 goes out of support soon, you should be looking at an upgrade anyway.
FWIW - I am doing an upgrade very soon.
Comment