In this chapter, we have looked at various system options and macro variable functions that can help users code advanced macros. We have also explored how to use macros by correctly referencing them. Instead of simple examples, we reviewed some complex scenarios where macro quoting is necessary to ensure that the output that's generated meets requirements.
In the next chapter, we will learn about some advanced programming techniques by using Proc SQL.