Problem Note 3451: RESOLVE function adds a quote at the end of the result
The RESOLVE function incorrectly adds a quote at the end of the result
when the argument being passed contains a quote. The argument that is
passed is a macro variable reference and the value in the macro
variable contains the quote. The following example illustrates the
problem:
data _null_;
x="can't";
call symput('test',x);
run;
data _null_;
y=resolve("&test");
put y=;
run;
The result of the PUT statement is y=can't'.
Operating System and Release Information
| Product Family | Product | System | Reported Release | Fixed Release* |
| SAS System | Base SAS | Microsoft Windows 95/98 | 8.1 TS1M0 | 8.2 TS2M0 |
| Microsoft Windows 2000 Datacenter Server | 8.1 TS1M0 | 8.2 TS2M0 |
| Microsoft Windows 2000 Server | 8.1 TS1M0 | 8.2 TS2M0 |
| Microsoft Windows 2000 Professional | 8.1 TS1M0 | 8.2 TS2M0 |
| Solaris | 8.1 TS1M0 | 8.2 TS2M0 |
| OpenVMS VAX | 8.1 TS1M0 | 8.2 TS2M0 |
| Microsoft Windows 2000 Advanced Server | 8.1 TS1M0 | 8.2 TS2M0 |
| 64-bit Enabled Solaris | 8.1 TS1M0 | 8.2 TS2M0 |
| OS/2 | 8.1 TS1M0 | 8.2 TS2M0 |
| IRIX | 8.1 TS1M0 | 8.2 TS2M0 |
| z/OS | 8.1 TS1M0 | 8.2 TS2M0 |
| ABI+ for Intel Architecture | 8.1 TS1M0 | 8.2 TS2M0 |
| 64-bit Enabled HP-UX | 8.1 TS1M0 | 8.2 TS2M0 |
| OpenVMS Alpha | 8.1 TS1M0 | 8.2 TS2M0 |
| HP-UX | 8.1 TS1M0 | 8.2 TS2M0 |
| CMS | 8.1 TS1M0 | 8.2 TS2M0 |
| 64-bit Enabled AIX | 8.1 TS1M0 | 8.2 TS2M0 |
| Tru64 UNIX | 8.1 TS1M0 | 8.2 TS2M0 |
| AIX | 8.1 TS1M0 | 8.2 TS2M0 |
| Microsoft Windows NT Workstation | 8.1 TS1M0 | 8.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 ==> Functions
|
| Date Modified: | 2000-11-03 13:21:07 |
| Date Created: | 2000-09-18 13:11:04 |