Variable Naming and Limits


Variable Names

Stat/Transfer will, by default, ensure that variable names are legal in the target data set and are unique.  It does this by adding special characters when needed, changing case where appropriate, substituting underscores (or another legal character) for invalid characters and by truncating variable names to an acceptable length. It then eliminates duplicates created by this process by appending a number to the end of the second and higher instances of duplicate variable names.


The original variable names will, if possible, be retained as variable labels.


If you check the option Write new, numeric variable names. (VN), in the General Options section of the Options dialog box, then instead of the default variable names, Stat/Transfer will create new variable names of the form V1...VN. This is chiefly useful when dealing with truncated names, which often have little resemblance to the names you started with.  If your output system supports variable labels, you may wish to use this option to assign numeric names for your variables.  You can then use the variable labels for description.


Because this option is likely to be useful only in special circumstances, it reverts to the default between sessions of Stat/Transfer.