Dear friends I need your help again.
I have data set with more than 2000000 variables
id snp1 snp2 snp3 ... snp2000000
i want to export it to any kind of delimited file, and preserve header.
I tried few stuff like:
PROC EXPORT DATA= bikovi (OBS=0) OUTFILE= "C:\Users\Maja\Desktop\gv50.csv" DBMS=CSV REPLACE; PUTNAMES=YES; RUN;
DATA _NULL_; SET bikovi; FILE "C:\Users\Maja\Desktop\gv50.csv" MOD DSD DLM=',' LRECL=5000000 ; PUT (_ALL_) (:) ; RUN;
and while the data are fine, my header is stopping at snp3708 every time.
What can be a reason?
I tried on smaller data set (40000 variables) and the story was the same.
My data are very simple
id is character value length 15 but if needed i can have it as numeric 1,2,3...671 while SNPs are numbers 0,1,2.
I tried also a robust macro from
http://support.sas.com/kb/24/727.html but this one only complicated everything
Hope you guys can help me
Thanks!
... View more