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 |
Are you familiar with special input delimiters How are they used?
What do you understand by the term Normal Distribution?
explain the difference between proc means and proc summary?
What are the new features included in the new version of SAS Programming Language?
WHAT DIFFERRENCE DID YOU FIND AMONG VERSION 6 8 AND 9 OF SAS.
What is the use of divide function?
What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro
what is SAS/Access and SAS/Connect?what are the uses?
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?
What are the default statistics that proc means produce?
What is maximum number of rows and cols can be handled in SAS?
What are all the problems you faced while validating tables and reports?
0 Answers Accenture, Quintiles,