08-30-2016 01:12 PM
Can you be more specific what do you mean when you say export dataset.
Is it exporting flat file or is this any other file format?
Below is the code to import csv file without any header. You can do same thing through an EG task
proc import datafile="C:\temp\test.csv" out=shoes dbms=csv replace; getnames=no; run;
08-30-2016 04:54 PM
A dataset without headers is like a city without streetnames: How do you know where you are?
Export is intended for data interchange and will provide either a label or a variable name for each column of output.
IF you really must do this then you can use a Data step and a PUT statement to write values:
file "C:\path\class.txt"; /* you may need to set LRECL to a value large enought to take all of your data in one row*/
would create a fixed column file with each column starting in the position indicated by @.
Other approaches would be to create CSV by putting commas between values, or tabs