Skip to Main Content
SAS Certified Professional Prep Guide
book

SAS Certified Professional Prep Guide

by SAS Institute
October 2019
Intermediate to advanced content levelIntermediate to advanced
430 pages
19h 4m
English
SAS Institute
Content preview from SAS Certified Professional Prep Guide

Troubleshooting Macro Variable References

When you submit a macro variable reference, the macro processor resolves the reference and passes the value directly back to the input stack. You will not see the value that the compiler receives. To debug your programs, use the SYMBOLGEN option or the %PUT statement to see what value replaces your macro variable references. You can use the %SYMDEL statement to remove macro variables from the global symbol table.

SYMBOLGEN Option Syntax

Use the SYMBOLGEN system option to monitor the value that is substituted for a macro variable reference.
Syntax, OPTIONS statement with the SYMBOLGEN option:
OPTIONS NOSYMBOLGEN | SYMBOLGEN ;
NOSYMBOLGEN
specifies that log messages about macro variable ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

SAS Certified Specialist Prep Guide

SAS Certified Specialist Prep Guide

SAS Institute
SAS in Practice

SAS in Practice

Ekta Saraogi

Publisher Resources

ISBN: 9781642954692