The Macro language is fully supported in the SAS© Viya™ platform, but its execution is limited to the SAS© session. Macros are particularly useful for dynamically generating SAS© code that will then be submitted and executed on the CAS server. It is important to note that the macro language itself does not execute directly on the CAS server, but acts as a preprocessor to produce code executable by CAS. This functionality allows great flexibility to automate the creation of complex programs and queries interacting with CAS's distributed processing capabilities.