parentheses also help, to make sure you are compar...
# general
s
parentheses also help, to make sure you are comparing the datediff to 30, rather than checking if {trandate} is less than 30, which may be invalid syntax.