Meant to type “EQ” instead of “=”.
I’ve somehow never noticed that I often write Where clauses without text in quotes when it comes to PARAMCD. Not sure how I have been so inconsistent. But somehow, it seems to work:
where PARAMCD = SYSBP
instead of PARAMCD = “SYSBP”.
Why does this work without the quote marks? Ha ha, this is really bothering me not knowing. In the future I will use quote marks regardless…