Problem Note 48843: Error may occur if a string is preceded by more than 255 blanks
When a macro is compiling, if the first token of a text string is preceded by more than 255 blanks and that token is also the first token of a text expression intended to yield a SAS identifier, the SAS Macro Facility erroneously causes a break in the text expression following the first token. This causes the text expression to no longer yield the intended result usually causing a parsing error in the generated source.
Possible work-around is to add %STR around the string.
Operating System and Release Information
| SAS System | Base SAS | Aster Data nCluster on Linux x64 | 9.3 TS1M1 | 9.4 TS1M0 |
| DB2 Universal Database on AIX | 9.3 TS1M1 | 9.4 TS1M0 |
| DB2 Universal Database on Linux x64 | 9.3 TS1M1 | 9.4 TS1M0 |
| Greenplum on Linux x64 | 9.3 TS1M1 | 9.4 TS1M0 |
| Netezza TwinFin 32bit blade | 9.3 TS1M1 | 9.4 TS1M0 |
| Netezza TwinFin 32-bit SMP Hosts | 9.3 TS1M1 | 9.4 TS1M0 |
| Netezza TwinFin 64-bit S-Blades | 9.3 TS1M1 | 9.4 TS1M0 |
| Netezza TwinFin 64-bit SMP Hosts | 9.3 TS1M1 | 9.4 TS1M0 |
| Teradata on Linux | 9.3 TS1M1 | 9.4 TS1M0 |
| z/OS | 9.3 TS1M1 | 9.4 TS1M0 |
| Z64 | 9.3 TS1M1 | 9.4 TS1M0 |
| Microsoft® Windows® for x64 | 9.3 TS1M1 | 9.4 TS1M0 |
| Microsoft Windows Server 2003 Datacenter Edition | 9.3 TS1M1 | 9.4 TS1M0 |
| Microsoft Windows Server 2003 Enterprise Edition | 9.3 TS1M1 | 9.4 TS1M0 |
| Microsoft Windows Server 2003 Standard Edition | 9.3 TS1M1 | 9.4 TS1M0 |
| Microsoft Windows Server 2003 for x64 | 9.3 TS1M1 | 9.4 TS1M0 |
| Microsoft Windows Server 2008 | 9.3 TS1M1 | 9.4 TS1M0 |
| Microsoft Windows Server 2008 for x64 | 9.3 TS1M1 | 9.4 TS1M0 |
| Microsoft Windows XP Professional | 9.3 TS1M1 | 9.4 TS1M0 |
| Windows 7 Enterprise 32 bit | 9.3 TS1M1 | 9.4 TS1M0 |
| Windows 7 Enterprise x64 | 9.3 TS1M1 | 9.4 TS1M0 |
| Windows 7 Home Premium 32 bit | 9.3 TS1M1 | 9.4 TS1M0 |
| Windows 7 Home Premium x64 | 9.3 TS1M1 | 9.4 TS1M0 |
| Windows 7 Professional 32 bit | 9.3 TS1M1 | 9.4 TS1M0 |
| Windows 7 Professional x64 | 9.3 TS1M1 | 9.4 TS1M0 |
| Windows 7 Ultimate 32 bit | 9.3 TS1M1 | 9.4 TS1M0 |
| Windows 7 Ultimate x64 | 9.3 TS1M1 | 9.4 TS1M0 |
| Windows Vista | 9.3 TS1M1 | 9.4 TS1M0 |
| Windows Vista for x64 | 9.3 TS1M1 | 9.4 TS1M0 |
| 64-bit Enabled AIX | 9.3 TS1M1 | 9.4 TS1M0 |
| 64-bit Enabled HP-UX | 9.3 TS1M1 | 9.4 TS1M0 |
| 64-bit Enabled Solaris | 9.3 TS1M1 | 9.4 TS1M0 |
| HP-UX IPF | 9.3 TS1M1 | 9.4 TS1M0 |
| Linux | 9.3 TS1M1 | 9.4 TS1M0 |
| Linux for x64 | 9.3 TS1M1 | 9.4 TS1M0 |
| Solaris for x64 | 9.3 TS1M1 | 9.4 TS1M0 |
*
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.
When a macro is compiling, if the first token of a MI_TEXT instruction is preceded by more than 255 blanks an error may occur.
| Type: | Problem Note |
| Priority: | low |
| Date Modified: | 2013-01-04 10:04:47 |
| Date Created: | 2013-01-04 09:36:24 |