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
Answer Posted / pratik
proc import
datafile='D:\Dropbox\SAS\testfile1.txt'
out=data_imported dbms=dlm replace;
getnames=NO;
run;
proc export
data=data_imported
outfile='D:\Dropbox\SAS\testfile2.txt' replace;
run;
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
how to read the variables in sas? : Sas-administrator
what is operational data and operational system? : Sas-di
what is sas metadata server? : Sas-di
How to specify variables to be processed by the freq procedure?
What is the order of application for output data set options, input data set options and SAS statements?
What are the different versions of sas that you have used until now? : sas-grid-administration
If a variable contains letters or special characters, can it be numeric data type?
i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;
How can you create a macro variable with in data step? : sas-macro
What are the different types of sas functions?
Mention what is PROC in SAS?
Compare sas with other data analytics tools.
How do you convert basic cube to transaction cube and transaction cube to basic cube?
what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming
What are the differences between sum function and using “+” operator?