How do you debug and test your SAS programs?
What can you learn from the SAS log when debugging?
How do you test for missing values?
How would you create multiple observations from a single
observation?
What are some good SAS programming practices for processing
very large data sets?
Briefly describe 5 ways to do a "table lookup" in SAS.
Why is SAS considered self-documenting?
Are you sensitive to code walk-throughs, peer review, or QC
review?
What other SAS features do you use for error trapping and
data validation?
How does SAS handle missing values in: assignment
statements, functions, a merge, an update, sort order,
formats, PROCs?
Answer Posted / admin
http://sas-4-u.com/4um/index.php?topic=63.0;
When you check for ordinary missing numeric values, you can use code that is similar to the following:
if numvar=. then do;
If your data contains special missing values, you can check for either an ordinary or special missing value with a statement that is similar to the following:
if numvar<=.z then do;
To check for a missing character value, you can use a statement that is similar to the following:
if charvar=' ' then do;
The MISSING function enables you to check for either a character or numeric missing value, as in:
if missing(var) then do;
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Tell me more about the parameters in macro? : sas-macro
describe how to adjust the performance of data integrator? : Sas-di
Enlist the syntax rules followed in sas statements.
How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?
How to convert a numeric variable to a character variable?
AE datasets names? how many types?
What is the basic syntax of a sas program?
Describe the ways in which you can create macro variables? : sas-macro
Mention the category in which sas informats are placed?
Compare sas with other data analytics tools.
what is study design in while working with SAS? what are screening variables in SAS?
What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?
How would you identify a macro variable?
how can you import .csv file in to sas? : Sas programming
Difference between informat and format?