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

how to remove the duplicates by proc sql?

2 Answers   Genpact,


what is slowly changing dimension? : Sas-di

0 Answers  


if a program has some 1000 or more line and how to know whether the syntax of the particular code is correct without checking it manually

4 Answers   Accenture,


Tell me about % include and % eval? : sas-macro

0 Answers  


what do the mod and int function do? What do the pad and dim functions do? : Sas programming

0 Answers  






what is sas application server, database server, sas olap server and sas metadata server? : Sas-di

0 Answers  


hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?

1 Answers   Pfizer,


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,


How will you generate test data with no input data?

0 Answers  


What are the parameters of scan function?

0 Answers  


what are the validation tools in sas?

3 Answers   TCS,


How to get the repeated values by using sql in sas ?

2 Answers  


Categories