Hi.
Is it possible to get a list of the variables from a dataset not currently in memory -- say in a macro?
If I do
des using otherdataset
I see the variables in that dataset. But can I get those variables into a macro?
Presently, I -use- the other dataset (-in 1-, to save space, but not time), and then -unab-. It works, but is there a more direct way, without loading the data?
I have a vague sense that I've asked this before; so excuse me if I've forgotten the answer.
Thanks
--David
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/