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

Are you familiar with special input delimiters How are they used?

3 Answers  


What do you understand by the term Normal Distribution?

0 Answers  


explain the difference between proc means and proc summary?

0 Answers  


What are the new features included in the new version of SAS Programming Language?

0 Answers  


WHAT DIFFERRENCE DID YOU FIND AMONG VERSION 6 8 AND 9 OF SAS.

4 Answers   Genzyme,






What is the use of divide function?

0 Answers  


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

0 Answers  


what is SAS/Access and SAS/Connect?what are the uses?

3 Answers  


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?

7 Answers   Accenture,


What are the default statistics that proc means produce?

0 Answers  


What is maximum number of rows and cols can be handled in SAS?

0 Answers   Signetsoft,


What are all the problems you faced while validating tables and reports?

0 Answers   Accenture, Quintiles,


Categories