The easiest way I know of to get a list of variable in the current dataset,
is
DISPLAY VARIABLES.
If you want this information in a text file, then from the output view
window choose File|Export... and use .txt as your filename suffix.
J'
On Wed, Aug 24, 2016 at 07:48:07AM -0500, Stacy Hardin wrote:
It creates the text file, but there is nothing in the file when I open it.
In my .sps file, the "export" command and the "print" command creates the
blank text file. I've copied in the section below. There is more code above
this section, but I don't think it's relative to this problem. The output
viewer does not show any errors.
The "write outfile" command works. It produces the .dat file with data in
it.
************************************** BEGIN DATA FILE SAVE
**********************************************
MATCH FILES FILE=*
/KEEP resp_num TO q19.e.
EXECUTE.
WRITE OUTFILE='O:\2016 Jobs\305616\tabulation\305616.dat'
TABLE /ALL.
EXECUTE.
EXPORT OUTFILE='O:\2016 Jobs\305616\tabulation\305616layout.txt'
/TYPE=TXT
EXECUTE.
**PRINT OUTFILE='O:\2016 Jobs\305616\tabulation\305616layout.txt'
TABLE /ALL.
**EXECUTE.
**************************************** END DATA FILE SAVE
***********************************************
_______________________________________________
Pspp-users mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/pspp-users