Hi All, I am new to SAS Macros, any help would be appreciated. I am creating a ID which is basically a combination of different variables, and then trying to call the distinct ids inside my macro. When I try to exceute the macro, I get the below mentioned error ERROR: The length of the value of the macro variable DT1 (65540) exceeds the maximum length (65534). The value has been truncated to 65534 characters. Can someone please help me resolve this error? PFB the code I have written. data test1; set test2; id1 = trim("_"||catx("_",put(minDate, date9.), put(maxDate, date9.), Sales_id ,Division, Roll_Up)); run; proc sql; select distinct id1 into: dt1 separated by " " from test`; %macro dly_mlt_lock; ........... %mend TIA
... View more