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 / sas developer
DATA _NULL_;
INFILE 'C:FILESINPUT.TXT' MISSOVER TRUNCOVER;
INPUT BLOCK $100.; /* This is length of the record. Change to suit your file*/
FILE 'C:FILESOUTPUT.TXT';
PUT BLOCK;
RUN;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What does the RUN statement do?
which date functions advances a date time or date/time value by a given interval? : Sas programming
Mention the difference between ceil and floor functions in sas?
Explain bmdp procedure?
what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming
what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming
what is factor analysis? : Sas-administrator
describe about physical data integration? : Sas-di
Describe the function and untility of the most difficult SAS macro that you have written.
Give an example where SAS fails to convert character value to numeric value automatically?
How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?
describe the interaction table in sas di? : Sas-di
Name validation tools used in SAS
How we can create SAS USER DEFINED CODE?
How sas treats the dsd delimiters?