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 |
sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately
what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?
name the scheduler for scheduling job and explain the scheduler? : Sas-di
What is the difference between one to one merge and match merge? Give an example.
Difference between SAS STATA & SPSS?
How would you include common or reuse code to be processed along with your statements?
how does sas handle missing values in procs? : Sas programming
When merging 2 datasets with a common variable (not merge key), how to keep both?
PROC SQL always ends with QUIT statement.Why cant you use RUN in PROQ SQL ?
Explain the use of proc gplot? : sas-grid-administration
Differentiate between sas functions and sas procedures.
How many missing values are available? When might you use them?