Try this:
keep var*
save "path\a different file name"
I am not sure what you mean by 'copy'--merge? If so, then you probably
need a unique identifier in at least one file and use merge or mmerge.
Aaron
On 7/1/04, Yang Li <[email protected]> wrote:
> Dear Statalists,
>
> I have a huge list of variables in the form of
> var1 par1 var2 par2 ... varN parN
> I am intend to only copy var1, var 2.. var N to another stata file.
> How can I realize this?
>
> Thanks
>
>
>
> --
> UTS CRICOS Provider Code: 00099F
> DISCLAIMER: This email message and any accompanying attachments may contain
> confidential information. If you are not the intended recipient, do not
> read, use, disseminate, distribute or copy this message or attachments. If
> you have received this message in error, please notify the sender immediately
> and delete this message. Any views expressed in this message are those of the
> individual sender, except where the sender expressly, and with authority,
> states them to be the views the University of Technology Sydney. Before
> opening any attachments, please check them for viruses and defects.
> *
> * 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/
>
*
* 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/