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

explain about various caches available in data integrator? : Sas-di

817


how does sas handle missing values in assignment statements? : Sas programming

804


What is the function of output statement in a SAS Program?

832


what are input dataset and output dataset options? : Sas programming

825


What is the maximum and minimum length of macro variable

938


what are all the reports you generated in your recent project?

1959


How would you identify a macro variable?

869


explain the key concept of sas? : Sas-administrator

774


How substr function works in sas?

917


what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming

857


What is SAS? What are the functions does it performs?

970


How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?

1332


How to create a permanent sas data set?

886


Are you involved in writing the inferential analysis plan? Tables specfications?

2012


how to generate the test data in sas without input data? : Sas-administrator

838