If reading a variable length file with fixed input, how
would you prevent SAS from reading the next record if the
last variable didn’t have a value?
Answers were Sorted based on User's Feedback
Answer / kumaraswamy maduri
Using MISSOVER or TRUNCOVER. TRUNCOVER is best because if
the last variable doesn't have value then it assigns
missing as just as missover one extra difference with
TRUNCOVER is, if you are using formatted input and the
width is more than the value still truncover reads the
available value but missover assigns a missing.
Eg: data t;
input num 3.;
cards;
1
12
121
;
run;
Check the above code using missover and truncover.
Is This Answer Correct ? | 8 Yes | 1 No |
Answer / nitin
By using stopover, missover is used to read next record
without stopping.
Is This Answer Correct ? | 6 Yes | 2 No |
What is the purpose of _error_?
What is factor analysis?
What are TEAEs
2 Answers Accenture, Quintiles,
what is star schema? : Sas-di
do you need to know if there are any missing values? : Sas programming
What is the order of evaluation of the following operators + - * / ** () ???
how many types of MERGE?
what are input dataset and output dataset options?
What does error:1 mean?
How do you write a test plan?
Explain by-group processing?
How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro