Hi, i have a problem with the dimension definiton of an array. My code works good in SAS Guide, but in the bash does't works. The macro variables nvars and obs are definited as: data _null_; set sashelp.vtable (where= (memname='ABT_DUMMY')); call symput('nvars', nvar-1); call symput('obs', nobs); run; I wish to put the macros in array dimension: data bt_lambda (keep= var dot); array xx[&nvars.] x_1-x_&nvars.; array xd[&obs., &nvars.] _temporary_; run; But return the errors: The code works if i defined the macros as: %let nvars=23; %let obs=84000; But i need the dynamical dimension. Someone can tell me a solution?
... View more