In the substring comparison of an INCLUD or OMIT condition, you have not specified a character literal for the right-hand side of the comparison.
Respecify the substring comparison, replacing its right-hand side with a character literal.