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
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / sas developer
DATA _NULL_;
INFILE 'C:FILESINPUT.TXT' MISSOVER TRUNCOVER;
INPUT BLOCK $100.; /* This is length of the record. Change to suit your file*/
FILE 'C:FILESOUTPUT.TXT';
PUT BLOCK;
RUN;
Is This Answer Correct ? | 1 Yes | 0 No |
what is SAS OPTIMIZATION?
How substr function works in sas?
How would you identify a macro variable? : sas-macro
how do you derive descriptive statistics?
1 Answers Accenture, Quintiles,
what is the difference between informat$8. $char8.
What are the joins,types of joins and thier functions?
What versions of SAS have you used (on which platforms)?
What SAS statements would you code to read an external raw data file to a DATA step?
Hot to suppress characters from a given string?
explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di
What is the difference between verification and validation?
· What are some good SAS programming practices for processing very large data sets?