*Copyright @ www.mycsg.in;


Why log review matters in SAS

Variable is uninitialised

Create input data

Name a variable on LENGTH but never assign a value to it

Type the wrong variable name in an expression

Specify a variable on RETAIN but do not create it meaningfully

Missing values were generated as a result of performing an operation on missing values

Perform arithmetic on a variable that contains missing values

Use a non-existing variable in an expression

Apply functions to values that may be missing

Round a variable that is missing on some rows

All variables passed to some numeric functions are missing

Character values were converted to numeric values

Create input data

Use a character variable where SAS expects a numeric expression

Numeric values were converted to character values

Create input data

Use a numeric variable where SAS expects character processing

Variable in DROP KEEP or RENAME list has never been referenced

Warning example in a KEEP statement

Error example in a dataset option KEEP list

Division by zero detected

Create input data

Percent change calculation with a denominator of zero

Invalid argument to function INPUT

Create input data

Convert text to numeric when some values are not valid numbers

File DATA does not exist

Refer to a non-existing dataset on SET

Refer to a non-existing dataset in a procedure

BY variables are not properly sorted on data set

MERGE statement has more than one data set with repeats of BY values

Key points to remember