Usage Note 54651: The error "Expecting a quoted string" might be produced by PROC SGPLOT or PROC SGPANEL when you use the VALUES= option in an axis statement
The following error might be generated by the SGPLOT or SGPANEL procedure:
ERROR 22-322: Expecting a quoted string.
ERROR 76-322: Syntax error, statement will be ignored.
The problem occurs when both of the following are true:
- An XAXIS or YAXIS statement in PROC SGPLOT or a COLAXIS or ROWAXIS statement in PROC SGPANEL includes a VALUES= option that references numeric values.
- The TYPE=DISCRETE option is specified.
Note that some types of plots, such as bar charts, automatically generate a discrete axis.
Prior to SAS® 9.4, the VALUES= option was ignored when the axis type was discrete, so the option appeared to work.
To prevent the error, each value that is listed in the VALUES= option must be enclosed in quotation marks and separated from adjacent values by a blank space in an XAXIS or YAXIS statement in PROC SGPLOT or a COLAXIS or ROWAXIS statement in PROC SGPANEL.
Beginning with the second maintenance release of SAS 9.4 (TS1M2), numeric values can be listed as a range of values.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.4 TS1M0 | |
Z64 | 9.4 TS1M0 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.4 TS1M0 | |
Microsoft® Windows® for x64 | 9.4 TS1M0 | |
Microsoft Windows 8 Enterprise x64 | 9.4 TS1M0 | |
Microsoft Windows 8 Pro x64 | 9.4 TS1M0 | |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4 TS1M0 | |
Microsoft Windows 8.1 Enterprise x64 | 9.4 TS1M0 | |
Microsoft Windows 8.1 Pro | 9.4 TS1M0 | |
Microsoft Windows 8.1 Pro 32-bit | 9.4 TS1M0 | |
Microsoft Windows Server 2008 R2 | 9.4 TS1M0 | |
Microsoft Windows Server 2008 for x64 | 9.4 TS1M0 | |
Microsoft Windows Server 2012 Datacenter | 9.4 TS1M0 | |
Microsoft Windows Server 2012 R2 Datacenter | 9.4 TS1M0 | |
Microsoft Windows Server 2012 R2 Std | 9.4 TS1M0 | |
Microsoft Windows Server 2012 Std | 9.4 TS1M0 | |
Windows 7 Enterprise x64 | 9.4 TS1M0 | |
Windows 7 Professional x64 | 9.4 TS1M0 | |
64-bit Enabled AIX | 9.4 TS1M0 | |
64-bit Enabled HP-UX | 9.4 TS1M0 | |
64-bit Enabled Solaris | 9.4 TS1M0 | |
HP-UX IPF | 9.4 TS1M0 | |
Linux for x64 | 9.4 TS1M0 | |
Solaris for x64 | 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.
Date Modified: | 2014-11-19 15:53:33 |
Date Created: | 2014-11-17 15:31:02 |