I was expecting you 😉
Yes, i know what macros are and i try not to overuse them.
Here is more precisely what i want to do :
/* Metadata describing datasets to be generated automatically */
data meta;
infile cards dlm=","
length ds $8 var $10 desc $100 len fmt infmt $5;
input ds var desc len fmt infmt;
cards;
Companies,name,Name of the company,$20,$20.,$20.
Companies,adress,Adress of the company,$100,$100.,$100.
;
run;
/* Now, I want to use meta to generate the companies dataset */
data companies;
attrib /* Automatically generated formats, labels ... */
...
run;
Exporting the meta columns in macrovariable lists to generate the attrib command was the simplest way that came up to me but
if you have a non macro simple solution, i am interested.
... View more