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 |
DATA ABC; INPUT TDATE DATE9. AVG; CARDS; 18APR2008 150.00 19APR2008 167.00 20APR2008 123.00 21APR2008 145.00 ; RUN HOW CAN I FIND THE DIFFERENCE BETWEEN AVG OF 18APR2008 ANF 21APR2008?? IF ANY ONE GETS IT PLS TRY TO POST IT.
8 Answers Verinon Technology Solutions,
What is a post baseline?
When looking for data contained in a character string of 150 bytes, which function is the best to locate that data: scan, index, or indexc?
How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?
What function CATX syntax does?
Describe the ways in which you can create macro variables?
what are validation tools that are used in sas? : Sas-administrator
For what purpose(s) would use the RETURN statement?
Difference b/n proc means and proc summary procedures?
is there any difference between proc summary and proc means?
What is the one statement to set the criteria of data that can be coded in any step?
what is sas data set?