Exploring SAS Macro functions – Eval and Sysevalf

Exploring SAS Macro functions – Eval and Sysevalf

EVAL and SYSEVALF are the two macro functions that evaluate arithmetic expressions and logical expressions.Use the %Eval function to evaluate an arithmetic expression in SAS macro and use the %SYSEVALF function to evaluate floating-point arithmetic expressions.

A comprehensive guide to PROC SQL in SAS (15 + Examples)

A comprehensive guide to PROC SQL in SAS (15 + Examples)

PROC SQL in SASis a Procedure that combines the functionality of DATA and PROC steps into a single step. PROC SQL can perform sorting of data, creating summaries of data, subsetting, joining (merge), concatenation of datasets, create new or calculated variables, printing the results or create a new table or view all in a single step.