Problem Note 52641: The %SYSMACDELETE statement causes a traceback error when referencing a macro that does not exist
A traceback error is generated when referencing a non-existent macro in a %SYSMACDELETE statement.
There are a few steps involved when encountering this traceback error. First, no macro has been compiled within a SAS® session, meaning that there is no WORK.SASMACR catalog. Second, the %SYSMACDELETE statement is used to check for a macro that does not exist. The combination of these two steps causes a traceback error shown below, and SAS terminates.
ERROR: An exception has been encountered.
Please contact technical support and provide them with the following traceback information:
The SAS task name is [Language Processor]
Exception occurred at (0494E730)
Task Traceback
/* traceback information here */
To circumvent the problem, compile a macro before using the %SYSMACDELETE statement. For example:
%macro test;
%mend test;
%sysmacdelete bb;
Operating System and Release Information
SAS System | Base SAS | Solaris for x64 | 9.3 TS1M0 | 9.4 TS1M2 |
Linux for x64 | 9.3 TS1M0 | 9.4 TS1M2 |
Linux | 9.3 TS1M0 | 9.4 TS1M2 |
64-bit Enabled Solaris | 9.3 TS1M0 | 9.4 TS1M2 |
HP-UX IPF | 9.3 TS1M0 | 9.4 TS1M2 |
64-bit Enabled HP-UX | 9.3 TS1M0 | 9.4 TS1M2 |
64-bit Enabled AIX | 9.3 TS1M0 | 9.4 TS1M2 |
Windows Vista for x64 | 9.3 TS1M0 | |
Windows Vista | 9.3 TS1M0 | |
Windows 7 Ultimate x64 | 9.3 TS1M0 | 9.4 TS1M2 |
Windows 7 Ultimate 32 bit | 9.3 TS1M0 | 9.4 TS1M2 |
Windows 7 Professional x64 | 9.3 TS1M0 | 9.4 TS1M2 |
Windows 7 Professional 32 bit | 9.3 TS1M0 | 9.4 TS1M2 |
Windows 7 Home Premium x64 | 9.3 TS1M0 | 9.4 TS1M2 |
Windows 7 Home Premium 32 bit | 9.3 TS1M0 | 9.4 TS1M2 |
Windows 7 Enterprise x64 | 9.3 TS1M0 | 9.4 TS1M2 |
Windows 7 Enterprise 32 bit | 9.3 TS1M0 | 9.4 TS1M2 |
Microsoft Windows XP Professional | 9.3 TS1M0 | |
Microsoft Windows Server 2008 for x64 | 9.3 TS1M0 | |
Microsoft Windows Server 2008 R2 | 9.3 TS1M0 | |
Microsoft Windows Server 2008 | 9.3 TS1M0 | |
Microsoft Windows Server 2003 for x64 | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.3 TS1M0 | |
Microsoft® Windows® for x64 | 9.3 TS1M0 | |
Z64 | 9.3 TS1M0 | 9.4 TS1M2 |
z/OS | 9.3 TS1M0 | 9.4 TS1M2 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
A traceback error is generated when referencing a non-existent macro in a %SYSMACDELETE statement.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2014-04-10 14:11:00 |
Date Created: | 2014-03-26 10:07:44 |