The error is caused by the WHERE clause had 1 too many close parens ')'
Need to add an open paren like this --
WHERE TEXT ((EQ 'MQSERIES' COLUMN 1 72) AND
(EQ 'WRAPPER' COLUMN 1 72))
Or remove extra close parens.
WHERE TEXT (EQ 'MQSERIES' COLUMN 1 72 AND EQ 'WRAPPER' COLUMN 1 72)
Need to make the number of open and close parens equal.