I am new user of SAS, i have completed my pg1 base SAS course few days ago, Recently i am practicing my course notes where i am facing difficulty in lesson 4, page 167 in English pg1 pdf. In challenge part i have to use macro variables to change values from mammals to birds using macro variables and have to generate freq report. %let Category=Bird data &Category; set pg1.np_species; now i want to know that why we use "&Category " in data step? data step simply create output tables, so in general whatever name we want to give to the table we write it in data step but here we are using different technique can't we use "data bird;" in data step to create table named bird it self instead of this macro variables in data step? If we can't use "data bird;" so what is the reason?
... View more