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 order of evaluation of the comparison && logical && relational operators:?
what is the difference between x=substr(name,1,2); and substr(name,1,2)='x';
explain the function of substr in sas? : Sas-administrator
I am looking to buy a sas advance book. So any one can guide me that which one i should buy.
how to handle in stream data containing semicolon in it?
what is validvarname and varnum? why we are using this options; explain with a syntax for this options?
PROC SQL always ends with QUIT statement.Why cant you use RUN in PROQ SQL ?
i have a null dataset with 10 variables; i want to print only name of the varibales in log window and also output window.how can we do this one?
WHAT DIFFERRENCE DID YOU FIND AMONG VERSION 6 8 AND 9 OF SAS.
Name statements that function at both compile and execution time?
calculate the sum of value using only DATA STEP. data count_; input year name $ value; cards; 2006 xxx 10 2007 yyy 12 2006 xxx 20 2008 yyy 15 2007 xxx 15 ; out put should be like this year name T_value ----------------------- 2006 xxx 30 2007 xxx 15 2007 yyy 12 2008 xxx 15
Explain the difference between using drop = data set option in set and data statement?