Page 1 of 2.

Macros allow you to execute a set of SAS statements with just one statement, and while this alone can be helpful, macros are even more powerful when you add parameters to them.

SAS Macros with Quotes

How to Use SAS Macros with Quotes

By Subhro | September 16, 2023 | 0 Comments

Unlock the power of SAS macros with our comprehensive guide on ‘How to Use SAS Macro with Quotes.’ Whether you’re a beginner or a seasoned SAS programmer, this blog post demystifies the complexities of using quotes in SAS macros. Learn the difference between single and double quotes, and master advanced techniques like %Str and %Unquote for seamless coding.

Handling Variable Arguments in SAS Macros

Handling Variable Arguments in SAS Macros

By Subhro | September 3, 2023 | 0 Comments

Discover the power of handling variable arguments in SAS macros. Learn how to efficiently work with a dynamic number of parameters and enhance your SAS programming skills.

Autocall Macro Facility in the SAS

Autocall Macro Facility in the SAS

By Subhro | August 5, 2023 | 0 Comments

When you submit a macro definition, the macro processor compiles and stores the macro in a SAS catalog in the WORK library by default. These macros, referred to as session compiled macros, exist only during the current SAS session. To save frequently used macros between sessions, you can use either the autocall macro facility or the stored compiled macro facility.


RESOLVE Function in SAS

By Subhro | April 3, 2023 | 0 Comments

The RESOLVE function is a SAS function that evaluates and resolves a macro variable reference in a character string.

Maximizing the Power of SAS Macro Variables: Using Them as Dates

Maximizing the Power of SAS Macro Variables: Using Them as Dates

By Subhro | September 18, 2022 | 0 Comments

Many SAS programmers struggle with date manipulation, particularly when creating…

How to Use Character Values on a Macro %DO Loop?

By Subhro | August 23, 2022 | 0 Comments

The macro facility does not permit character values on an…

4 Methods to create macro variables from SAS dataset

How many ways we can create macro variables in SAS?

By Subhro | February 27, 2022 | 0 Comments

Macro variables in SAS are used extensively for reusing codes. You…

SAS macro parameters with commas

SAS macro parameters with commas

By Subhro | February 23, 2022 | 0 Comments

Have you ever tried to pass multiple values for a SAS…

symdel in SAS

How to Delete Macro Variables in SAS?

By Subhro | September 23, 2020 | 0 Comments

CALL SYMDEL is a data step call routine which is used to delete macro variables from the global symbol table.