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 / prakash hullathi
DATA step copies records from the input file to the output
file without creating any SAS variables:
data _null_;
/*To read the external taw data file*/
infile 'file-specification-1';
input var1 var2 $ var3;
/*To write the external raw data file*/
file 'file-specification-2';
put var1 var2 var3;
run;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what are informats in sas? : Sas-administrator
explain what is data set in sas? : Sas-administrator
Explain what is SAS informats?
Which date function advances a date, time or datetime value by a given interval?
Give an example where SAS fails to convert character value to numeric value automatically?
what are some good sas programming practices for processing very large data sets? : Sas programming
what type of graphs we will create(for 2+years candidates)?
What is the function of Stop statement in a SAS Program?
where to use sas business intelligence? : Sas-bi
which date functions advances a date time or date/time value by a given interval? : Sas programming
Explain the difference between informat and format with an example.
How would you determine the number of missing or nonmissing values in computations?
What do the put and input function do?
Describe a time when you were really stuck on a problem and how you solved it?
What is the use of stop statement?