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 / 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 |
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 |
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 |
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 |
what is the difference between x=substr(name,1,2); and substr(name,1,2)='x';
What is your favorite all time computer book? Why?
what r the job openings SAS for fresher graduates !
What are the functions done while Compilation...?
what are the benefits of data integration? : Sas-di
what does the run statement do? : Sas programming
how to assign a macro value to a variable?
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 ?
What commands are used in the case of including or excluding any specific variables in the data set?
what is star schema? : Sas-di
what has been your most common programming mistake? : Sas programming
What is SAS? What are the functions does it performs?