SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 888: A literal string that is longer than 262 characters generates a warning message

DetailsAboutRate It

The maximum length of a character variable in SAS® is 32,767 bytes. However, if you reference a quoted string that is longer than 262 bytes, the following warning message is issued:

WARNING 32-169: The quoted string currently being processed has
                become more than 262 characters long.  You may have
                unbalanced quotation marks.

This is simply a warning message. The entire string is recognized and any assignments are made correctly. On platforms that set program return codes, this warning does not affect the return code for the SAS program.

Beginning in SAS® 9, the NOQUOTELENMAX system option can be used to prevent a warning message from being written to the SAS log about the maximum length for strings within quotation marks.

See SAS Note 57574, "A long quoted string within the SAS® Macro facility incorrectly generates a warning when it should be a note", about a related issue.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASMicrosoft Windows 95/988 TS M0
OpenVMS VAX8 TS M0
Solaris8 TS M0
HP-UX8 TS M0
z/OS8 TS M0
64-bit Enabled Solaris8 TS M0
OS/28 TS M0
CMS8 TS M0
64-bit Enabled AIX8 TS M0
64-bit Enabled HP-UX8 TS M0
Microsoft Windows NT Workstation8 TS M0
OpenVMS Alpha8 TS M0
Tru64 UNIX8 TS M0
AIX8 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.