The FETCH statement positions a cursor on a row of the result table. It can return zero, one, or multiple rows, and it assigns the values of the rows returned to variables.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.