Dear all,

I tried Allin's solution by command line in Gretl 1.8.4 console under Windows XP.

It did work to generate 3 files, e.g., *.dat, *.hdr, and *.lbl.

After some experiments, I found that the working file must have at least _ONE_ variable with a descriptive label. Otherwise, gretl only generate two files (without *.lbl) so that you are not able to edit the *.lbl by general text editor  thereafter.

It is also confirmed that re-open the *,dat via GUI does not import the associated descriptive labels defined in *.lbl. You have to re-open the *.dat file trhough the gretl Console (command line).


good luck

Yi-Nung


2009/10/8 Allin Cottrell <cottrell@wfu.edu>

On Wed, 7 Oct 2009, Shaianne Osterreich wrote:

> Thanks for your advice Allin and Henrique.
>
> Allin - I've tried your suggestion.  When the traditional file
> is created it does create 2 files - dat and hdr.  Then I have
> saved a plain text file named mydata.lbl (in exactly the format
> you suggested) in the same user folder with the newly created
> ones.  But, when I re-open mydata.dat it doesn't open with the
> descriptive labels - it's just the variable names as before.  I
> think gretl isn't reading the text file.  Do you have
> suggestions?