Search notes:

SAS: Program compilation - macro processor

The macro processor stores text in two locations:
When a macro is compiled (%macro m_foo; …. %mend m_foo;), the macro processor stores the corresponding text in the macro catalog.
When the macro later is executed, the macro processor fetches the text from the macro catalog.
When a value is assigned to a macro variable (%let foo=42;), the macro processor stores the value in the macro symbol table.
When later the macro variable is resolved (&foo), the macro processor fetches the value from the macro symbol table.
Depending on the instructions of a macro, the macro processor pushes text onto the input stack.

Compling a macro

When the macro processor(?) compiles a macro, it does not resolve macro variables or execute macro calles within the compiled macro code.

See also

mprint

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Companie...', 1759408074, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Companies-Products/SAS/programming/compilation/macro-processor(58): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78