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 the difference between infile and input? : Sas-administrator
How can you limit the variables written to output dataset in data step?
what is the different between functions and procs that calculate the same simple descriptive statistics? : Sas programming
Code a PROC SORT on a data set containing State, District and County as the primary variables, along with several numeric variables?
Mention the validation tools used in SAS?
Can anyone help to find a statement to get all the predefined formats?
3 Answers Verinon Technology Solutions,
Enlist the functions performed by sas.
What are the rows present in protocol Violation table?
2 Answers Accenture, Quintiles,
what is conditional processing?
Can we use where and having clauses in a single SAS program. ex: proc sql; select a,b,c from test where state in 'KA' and having <some condition>. Is the above program run correctly, if not why ?
Explain the use of proc gplot? : sas-grid-administration
how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5