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 would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?

693


How can you create a macro variable with in data step? : sas-macro

580


This entry was posted in General. Bookmark the permalink. Post a comment or leave

4081


what are the categories that sas informats are used to the place the data? : Sas-administrator

629


What do you know about sas and what we do? : sas-grid-administration

612






what are sas bi dashboard components? : Sas-bi

669


What are all the problems you faced while validating tables and reports?

3020


What would you change about your job?

1933


Differences between where and if statement?

592


Describe a time when you were really stuck on a problem and how you solved it?

2211


Explain by-group processing?

599


what is treatment emergent events and treatment emregent adverse event

1953


How many data types are there in SAS?

644


What is the maximum length of the macro variable?

684


Mention common programming errors committed in sas ?

658