Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: RE: Fwd: Moving value labels from one database to another


From   Eric Booth <[email protected]>
To   "<[email protected]>" <[email protected]>
Subject   Re: st: RE: Fwd: Moving value labels from one database to another
Date   Wed, 2 Feb 2011 17:18:09 +0000

<>

Also,   -descsave- (from SSC) is a powerful tool for this kind of work (it allows you to save other attributes of one dataset and transfer it to others, such as var & val labels, chars, storage types, etc).  
Type -findit descsave-

- Eric

__
Eric A. Booth
Public Policy Research Institute
Texas A&M University
[email protected]
Office: +979.845.6754

On Feb 2, 2011, at 11:01 AM, Susan Bondy wrote:

> The command you want is: label save
> Writes a *.do file with the label commands.  Open the other file and run the do file (see 'include').
> -Sue B, DLSPH Toronto
> 
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Nick Mosely
> Sent: February 2, 2011 11:58 AM
> To: [email protected]
> Subject: st: Fwd: Moving value labels from one database to another
> 
> Hello,
> 
> I have worked tirelessly to create about 100 value labels in a Stata
> file. Now I want to apply those value labels to variables in another
> database. However, in order to open the second database stata requires
> that the current data be cleared from memory, including value labels.
> How do I work around this?
> 
> Thank you,
> ~Nick Mosely
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index