Thanks as always to Kit Baum, a new versionn of the vallabsave package is now available for download from SSC. In Stata, use the ssc command to do this, or adoupdate if you already have an old version of vallabsave.

The vallabsave package is described as below on my website. In the new version, the to(frame_name) option creates a new frame with the specified name, if no such frame already exists. This new frame will contain only value labels, and no variables.

Best wishes

Roger

----------------------------------------------------------------------------------
package vallabsave from http://www.rogernewsonresources.org.uk/stata16
----------------------------------------------------------------------------------

TITLE
vallabsave: Save and load value labels and transfer them between frames

DESCRIPTION/AUTHOR(S)
The vallabsave package contains 3 modules, vallabsave, vallabload
and vallabtran. vallabsave saves a list of value labels
(defaulting to all value labels in the current dataset) to a
label-only Stata dataset in a disk file, containing no
observations and no variables. vallabload uploads labels from a
label-only Stata dataset in a disk file to the Stata dataset
currently in memory. vallabtran transfers a list of value labels
from one frame to another. Label-only Stata datasets are a
sensible way of storing value labels in a disk file, if the labels
may have text values that cannot be enclosed in compound quotes.
Such labels cannot be stored using label save, or generated using
label define, but they may be generated using encode, or using the
SSC packages sencode and vallabdef.

Author: Roger Newson
Distribution-Date: 11august2020
Stata-Version: 16

INSTALLATION FILES (click here to install)
vallabsave.ado
vallabload.ado
vallabtran.ado
vallabsave.sthlp
vallabload.sthlp
vallabtran.sthlp
----------------------------------------------------------------------------------
(click here to return to the previous screen)