Interview Questions   Tutorials   Discussions   Programs   Videos   

SAS - If reading an external file to produce an external file, what is the shortcut to write that record without coding every single variable on the record?




385
views
asked mar September 20, 2014 06:29 AM  

If reading an external file to produce an external file, what is the shortcut to write that record without coding every single variable on the record?


           

1 Answers



 
answered By vishnoiprem   0  

Use the infile option in the put statement

filename some 'c:\cool.dat';
filename cool1 'c:\cool1.dat';
data _null_;
infile some;
input some;
file cool1;
put _infile_;
run;
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert