%macro accountreport(State=);
proc sql;
title "&title";
create table mydata as
select Acct_ID,Name,birthday format ddmmyy8.0,Sex,State format $char8.,Cust_Type,Product,Balance,Last_Tran_Date=symget('tran_date')
from myprj2.profile2;
quit;
%mend accountreport;
ERROR: Expression using equals (=) has components that are of different data types.
proc content of the data is attached..