@Kurt_Bremser This is the second question and connected with the original post. I did removed the macro function and used compress but still ended up with this error.
You can ignore previous question as it led to confusion.
data _null_;
/*test = '/'||¶meter_2||'/'; */
test =cats( '/', catx('/',compress(¶meter_2,'kas')) , '/');
put test=;
run;
Value of Parameter_2 is "Medical Insurance"~"Left Atrial Appendage (LAA)"
Log:
81 data _null_;
82 /*test = '/'||¶meter_2||'/'; */
83 test =cats( '/', catx('/',compress(¶meter_2,'kas')) , '/');
NOTE: Line generated by the macro variable "PARAMETER_2".
83 "Medical Insurance"~"Left Atrial Appendage(LAA)"
--------------------------------------
22
76
ERROR 22-322: Syntax error, expecting one of the following: <, <=, =, >, >=, EQ, GE, GT, LE, LT, NE, NG, NL, ^=, ~=.
ERROR 76-322: Syntax error, statement will be ignored.
Excepted result:
/Medical Insurance/Left Atrial Appendage (LAA)/
... View more