Problem Note 40031: Single quotation marks have been added to internal macros in SAS® Enterprise Guide®
There are currently 12 internal macro variables that can be used in SAS Enterprise Guide, for example, _CLIENTAPP, _CLIENTMACHINE, and _CLIENTPROJECTNAME. (A list of other macros can be found by using the Search tab in the Help and entering MACROS as the keyword.)
In version 4.2, the macro variable values resolve to include single quotation marks, for example, &_clientapp resolves to 'SAS Enterprise Guide', but, in earlier versions, the same macro variable resolves to SAS Enterprise Guide.
To remove the quotation marks, use %SYSFUNC, for example:
title "%sysfunc(compress(&_clientapp,%str(%')))".
|
Operating System and Release Information
SAS System | SAS Enterprise Guide | Microsoft® Windows® for x64 | 4.2 | | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 4.2 | | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 4.2 | | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Standard Edition | 4.2 | | 9.2 TS2M0 | |
Microsoft Windows Server 2003 for x64 | 4.2 | | 9.2 TS2M0 | |
Microsoft Windows Server 2008 for x64 | 4.2 | | 9.2 TS2M0 | |
Microsoft Windows XP Professional | 4.2 | | 9.2 TS2M0 | |
Windows Vista | 4.2 | | 9.2 TS2M0 | |
Windows Vista for x64 | 4.2 | | 9.2 TS2M0 | |
*
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.
Type: | Problem Note |
Priority: | high |
Topic: | SAS Reference ==> Macro Common Programming Tasks
|
Date Modified: | 2010-06-23 11:15:58 |
Date Created: | 2010-06-17 12:39:06 |