|
As Richard said, there are a number of ways to do this. The following uses a
data step.
Nat Wooding
Data Have;
input a b c d $2.;
cards;
1 2 3 a
4 5 6 b
;
Data _NULL_ ;
set have;
Filename new 'c:\outfile.txt';
File new;
put (_all_) (' ');* the field separator here is a space. You could specify
other delimitors;
run;
filename new clear;
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of js8765
Sent: Saturday, September 04, 2010 7:16 AM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Output all columns from dataset to text file
Hi all,
Is there any way of outputting all columns from a dataset to a text file
(i.e. the complete dataset) without having to specify the individual
columns?
Thanks in advance for any help.
js
|