You need to supply the exact SQL statements that are giving the error. On the other hand, if you trying to get QMF recognize current date after you extract the data from DB2, then I don't think you can do that. Current date must be in the SQL statement, not Forms part of QMF.