Problem Note 5178: Overflow error is generated when a macro variable's value has extended
past the limit of 64k
Starting in Version 7, if you create a macro variable whose value goes
beyond the limit of 64k you may receive the following errors:
ERROR: Overflow has occurred; evaluation is terminated.
ERROR: Out of memory.
There are also cases where a macro variable value longer than 64k causes
SAS to hang.
To circumvent the problem, make sure the macro variable's value does not
go beyond the 64k character limit. You could use the %LENGTH function
periodically to check the length of the value.
Starting in SAS System 9 the following error message will be generated:
ERROR: The text expression length (xxxxx) exceeds maximum length
(65534). The text expression has been truncated to 65534
Operating System and Release Information
| Product Family | Product | System | Reported Release | Fixed Release* |
| SAS System | Base SAS | z/OS | 8 TS M0 | 9 TS M0 |
| OS/2 | 8 TS M0 | |
| 64-bit Enabled Solaris | 8 TS M0 | |
| Microsoft Windows 95/98 | 8 TS M0 | |
| OpenVMS VAX | 8 TS M0 | |
| OpenVMS Alpha | 8 TS M0 | 9 TS M0 |
| 64-bit Enabled HP-UX | 8 TS M0 | |
| Solaris | 8 TS M0 | |
| Microsoft Windows NT Workstation | 8 TS M0 | 9 TS M0 |
| HP-UX | 8 TS M0 | |
| Tru64 UNIX | 8 TS M0 | 9 TS M0 |
*
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: | medium |
| Topic: | SAS Reference ==> Macro
|
| Date Modified: | 2007-01-18 07:42:21 |
| Date Created: | 2001-06-07 15:53:15 |