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
explain about various caches available in data integrator? : Sas-di
how does sas handle missing values in assignment statements? : Sas programming
What is the function of output statement in a SAS Program?
what are input dataset and output dataset options? : Sas programming
What is the maximum and minimum length of macro variable
what are all the reports you generated in your recent project?
How would you identify a macro variable?
explain the key concept of sas? : Sas-administrator
How substr function works in sas?
what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming
What is SAS? What are the functions does it performs?
How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?
How to create a permanent sas data set?
Are you involved in writing the inferential analysis plan? Tables specfications?
how to generate the test data in sas without input data? : Sas-administrator