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

How long can a macro variable be? A token? : sas-macro

994


Did you used proc test? when?

1847


Do you know the features of sas?

840


for report generation which one you used proc report or data_null_?

7208


How is character variable converted into numeric variable and vice versa?

918


Compare sas with other data analytics tools.

841


What are symget and symput? : sas-macro

1035


What is the role of administrative users? : sas-grid-administration

903


How does the internal authentication work in sas? : sas-grid-administration

878


what are the scrubbing procedures in sas? : Sas programming

1090


How do you use the do loop if you don’t know how many times you should execute the do loop?

1053


What are the ways in which macro variables can be created in sas programming?

830


What is the difference between SAS functions and procedures?

939


How would you determine the number of missing or nonmissing values in computations?

871


Will it bother you if the guy at the next desk times the frequency and duration of your bathroom or coffee breaks on the grounds that ?you are getting paid twice as much as he is??

2401