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


Please Help Members By Posting Answers For Below Questions

what are some good sas programming practices for processing very large data sets? : Sas programming

710


If you could design your ideal job, what would it look like?

2672


What’s the difference between var b1 – b3 and var b1 — b3?

1052


How to limit decimal places for variable using proc means?

791


why is sas considered self-documenting? : Sas programming

858


If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro

815


Define run-group processing?

785


What is maximum number of rows and cols can be handled in SAS?

1067


Can you suggest us materials for sdtm mapping?

4240


how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming

821


what is null hypothesis? why do you consider that?

2627


How do you define proc in sas? : sas-grid-administration

853


how to change the execute of macro

1911


What is the basic structure of the SAS base program?

905


Compare sas with other data analytics tools.

790