Read-only DB2 queries from the open file
Run a read-only DB2 query from the EXEC SQL in the COBOL file you have open, and page through the rows in OL Code.

An EXEC SQL block is easier to trust when you can see the rows it returns. OL Code runs that statement from the COBOL file you have open, including edits that are not saved yet, and shows the rows beside the source.