Hi Stacy
I tested the export in my MSWindows build and it works when the export from the GUI is used. (File | Export) I get the whole output in a text file. EXPORT OUTFILE='O:\2016 Jobs\305616\tabulation\305616layout.txt' /TYPE=TXT EXECUTE. Gives an error in the output window. /TYPE=TXT is not possible. Besides I don't think this is the command you are looking for. PRINT OUTFILE='O:\2016 Jobs\305616\tabulation\305616layout.txt' Gives no error in the output window and an empty file. I would say that is a bug. PRINT OUTFILE='O:\2016 Jobs\305616\tabulation\305616layout.txt' TABLE /ALL. Gives output in the output window and an empty file. I would say that is a bug. Have fun Date: Wed, 24 Aug 2016 07:48:07 -0500 > From: "Stacy Hardin" <stacy.har...@par-research.com> > To: "'John Darrington'" <j...@darrington.wattle.id.au> > Cc: <pspp-users@gnu.org> > Subject: RE: Export variable/dictionary list > Message-ID: <001f01d1fe05$c6df7580$549e6080$@par-research.com> > Content-Type: text/plain; charset="us-ascii" > > 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 > *********************************************** > > -----Original Message----- > From: John Darrington [mailto:j...@darrington.wattle.id.au] > Sent: Tuesday, August 23, 2016 4:50 PM > To: Stacy Hardin <stacy.har...@par-research.com> > Cc: pspp-users@gnu.org > Subject: Re: Export variable/dictionary list > > It is strange that the export feature doesn't work here. Does it work at > all (in any other context)? > > However if you want to write directly to a text file, and have a .sps to > hand, you can do it from the command line: > > pspp -o myfile.txt some-input-file.sps > > I hope this helps. > > -- > Avoid eavesdropping. Send strong encryted email. > PGP Public key ID: 1024D/2DE827B3 > fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See > http://sks-keyservers.net or any PGP keyserver for public key. > > > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Pspp-users mailing list > Pspp-users@gnu.org > https://lists.gnu.org/mailman/listinfo/pspp-users > > > ------------------------------ > > End of Pspp-users Digest, Vol 123, Issue 10 > ******************************************* >
_______________________________________________ Pspp-users mailing list Pspp-users@gnu.org https://lists.gnu.org/mailman/listinfo/pspp-users