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

do you prefer proc report or proc tabulate? Why? : Sas programming

555


Hi, If anyone has base SAS certification dumps, please share.

1368


What is PROC in SAS?

589


What is the difference between nodupkey and nodup options?

584


What are the applications primarily used by business analyst? : Sas-bi

536






explain the proc in sas? : Sas-administrator

598


What is the difference between proportion and average?

2740


What is the function of Stop statement in a SAS Program?

630


Name any two sas spawners? : sas-grid-administration

542


What are the 3 components in sas programming?

709


Mention what are the data types does SAS contain?

684


Explain substr function?

563


Explain how you can debug and test your SAS program?

548


which features do you use to check the data validations and errors? : Sas-administrator

534


In ARRAY processing, what does the DIM function do?

692