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


Please Help Members By Posting Answers For Below Questions

What is factor analysis?

855


How do you delete duplicate observations in sas?

812


what is data integration? : Sas-di

856


What is your favorite all time computer book? Why?

2246


how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming

833


what are the considerations when picking a SAS/STAT procedure?

3133


What are the best sas programming practices for handling very large datasets? : sas-grid-administration

775


If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro

831


For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration

738


explain what is factor analysis? : Sas-administrator

822


Difference between informat and format?

854


Name few SAS functions?

883


Explain proc univariate?

797


what do the sas log messages "numeric values have been converted to character" mean? : Sas programming

784


what is business intelligence? : Sas-bi

807