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 / ade

Use the MISSOVER keyword; it forces SAS to put either a
blank or a period for the missing variable before continuing
to the next record.

Is This Answer Correct ?    22 Yes 0 No

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

Answer / ade

Use the MISSOVER keyword; it forces SAS to put either a
blank or a period for the missing variable before continuing
to the next record.

Is This Answer Correct ?    9 Yes 0 No

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

Answer / ganesh

In my view Missover is the right option to prevent sas form
reading the next record if last variable didn,t have a
value.

Is This Answer Correct ?    6 Yes 0 No

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

Answer / satish vatsavai

We can use Missover and Pad options

Is This Answer Correct ?    0 Yes 0 No

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

Answer / suresh

Use the MISSOVER keyword;


http://www.time2ask.com/13296/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.htm

Is This Answer Correct ?    0 Yes 0 No

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

Answer / pratik

www2.sas.com/proceedings/sugi26/p009-26.pdf

The best document I have read on this topic.It takes into account both Column Input and List Input.Along with it conditions of Missing value and Short Value are also beautifully explained.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SAS Interview Questions

what is the difference between x=substr(name,1,2); and substr(name,1,2)='x';

3 Answers   HSBC,


What is your favorite all time computer book? Why?

0 Answers   Oracle,


what r the job openings SAS for fresher graduates !

0 Answers   TetraSoft, Wipro,


What are the functions done while Compilation...?

1 Answers   TCS,


what are the benefits of data integration? : Sas-di

0 Answers  






what does the run statement do? : Sas programming

0 Answers  


how to assign a macro value to a variable?

8 Answers   CitiGroup,


We have a string like this "kannafromsalembut" ,from this i want to get only "fromsal" (but one condition with out using substring function)here we can not use scan because in the given string there is no delimeter? so give ans without out using substring ?

5 Answers  


What commands are used in the case of including or excluding any specific variables in the data set?

0 Answers  


what is star schema? : Sas-di

0 Answers  


what has been your most common programming mistake? : Sas programming

0 Answers  


What is SAS? What are the functions does it performs?

0 Answers  


Categories