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



If reading a variable length file with fixed input, how would you prevent SAS from reading the next..

Answer / madhu

by using missover option.

Is This Answer Correct ?    15 Yes 2 No

If reading a variable length file with fixed input, how would you prevent SAS from reading the next..

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

If reading a variable length file with fixed input, how would you prevent SAS from reading the next..

Answer / nitin

By using stopover, missover is used to read next record
without stopping.

Is This Answer Correct ?    6 Yes 2 No

Post New Answer

More SAS Interview Questions

sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately

0 Answers  


what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?

0 Answers  


name the scheduler for scheduling job and explain the scheduler? : Sas-di

0 Answers  


What is the difference between one to one merge and match merge? Give an example.

0 Answers  


Difference between SAS STATA & SPSS?

0 Answers  


How would you include common or reuse code to be processed along with your statements?

3 Answers   Accenture,


how does sas handle missing values in procs? : Sas programming

0 Answers  


When merging 2 datasets with a common variable (not merge key), how to keep both?

3 Answers  


PROC SQL always ends with QUIT statement.Why cant you use RUN in PROQ SQL ?

7 Answers   HP,


Explain the use of proc gplot? : sas-grid-administration

0 Answers  


Differentiate between sas functions and sas procedures.

0 Answers  


How many missing values are available? When might you use them?

1 Answers   Quintiles,


Categories