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 and what are the functions? : Sas-administrator
what techniques and/or procs do you use for tables? : Sas programming
Why is SAS considered self-documenting?
what do the mod and int function do? What do the pad and dim functions do? : Sas programming
how do i get last 10obs from a dataset when we don't know about the number of obsevations in that dataset?
How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro
how to delete the duplicate columns permanently in SQL
Please write codes to merge two datasets and keep every record in the first dataset.
what is p-value
3 Answers Accenture, Quintiles, Sristek,
What is the order of application for output data set options, input data set options and SAS statements?
what does .. meant in sas macros
Differentiate between sas functions and sas procedures.