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 / prakhar sadafal

Use the _infile_ option in the put statement

view sourceprint?
filename some 'c:cool.dat';
filename cool1 'c:cool1.dat';
data _null_;
infile some;
input some;
file cool1;
put _infile_;
run;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?

2014


What are the differences between proc means and proc summary?

692


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

1794


what is the Population you used in your project, is it ITT or PP?

2286


why is a stop statement needed for the point=option on a set statement? : Sas programming

689






what is the effect of the options statement errors=1? : Sas programming

687


how many display types available in sas bi dashboard? : Sas-bi

725


What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?

800


what do you mean by data staging area? : Sas-di

696


How would you define the end of a macro? : sas-macro

717


how are numeric and character missing values represented internally? : Sas programming

725


explain the key concept of sas? : Sas-administrator

653


what is intially documentation in sas?

4466


how many types of prompts are there? : Sas-bi

642


how will you location sas platform applications available from web browser? : Sas-bi

656