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 / learning sas

FILENAME EXTERNAL1 'PATH';
FILENAME EXTERNAL2 'PATH';
Proc import DATAFILE=EXTERNAL1
OUT=XYZ REPLACE;
GETNAMES=YES;
RUN;
DATA _NULL_;
FILE EXTERNAL2;
SET XYZ;
PUT _ALL_;
RUN;

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you know about sas data set?

826


what is broad cast agent? : Sas-bi

836


explain the proc in sas? : Sas-administrator

852


How can you limit the variables written to output dataset in data step?

1053


data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.

2046


what is change analysis in sas di ? : Sas-di

818


What is SAS?

822


What is the sas data set? : sas-grid-administration

784


How many data types are there in SAS?

821


what does the run statement do? : Sas programming

804


How would you invoke a macro? : sas-macro

801


Describe crosslist option in tables statement?

960


in the flow of data step processing, what is the first action in a typical data step? : Sas programming

866


What is the difference between the proc sql and data step?

904


What does PROC print, and PROC contents do?

979