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?

1908


What is slibref?

741


What is the difference between where and if statement?

610


What would you change about your job?

1918


What do you know about symput and symget?

721






explain about sas business intelligence? : Sas-bi

596


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

529


What are the difference between ceil and floor functions in sas?

702


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

591


What is the maximum and minimum length of macro variable

648


What does proc print, and proc contents are used for?

607


Mention the category in which sas informats are placed?

622


what is transformation in sas data integration? : Sas-di

541


Did you used proc test? when?

1571


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

579