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 |
How are numeric and character missing values represented internally?
Name statements that function at both compile and execution time?
Are you sensitive to code walk-throughs peer review or QC review?
What is the difference between using drop = data set option in data statement and set statement?
If a variable contains only numbers, can it be a character data type?
How would you delete observations with duplicate keys?
is it possible to generate sas datasets using proc print ???
1 Answers GSK GlaxoSmithKline,
In proc transpose and data step with arrays which one you pick?
0 Answers Accenture, Quintiles,
What is Transaction...? And what are Comment, Roll back n Save point..?
Where do the database management systems store data and how do u import them.
What would you change about your job?
I am looking to buy a sas advance book. So any one can guide me that which one i should buy.