variable does not have a numeric suffix" might be generated when you attempt to list dissimilar variable names with PROC TRANSPOSE." />
Usage Note 46305: "ERROR: variable does not have a numeric suffix" might be issued when defining a variable list with PROC TRANSPOSE
The following error message is generated when you attempt to define a list using dissimilar variable names in a VAR statement with PROC TRANSPOSE:
ERROR: variable does not have a numeric suffix
For example, a list is defined in the VAR statement below:
proc transpose data=sashelp.class;
var age-height;
run;
The VAR statement results in the following error message:
ERROR: AGE does not have a numeric suffix.
To circumvent the problem, use two hyphens instead of one when defining the list, as shown below:
proc transpose data=sashelp.class;
var age--height;
run;
This syntax is documented in the SAS® 9.4 Language Reference: Concepts, Fifth Edition on the SAS Variable Lists page in the section entitled Name Range Lists.
Operating System and Release Information
| SAS System | Base SAS | Aster Data nCluster on Linux x64 | | |
| DB2 Universal Database on AIX | | |
| DB2 Universal Database on Linux x64 | | |
| Greenplum on Linux x64 | | |
| Netezza TwinFin 32bit blade | | |
| Netezza TwinFin 32-bit SMP Hosts | | |
| Netezza TwinFin 64-bit S-Blades | | |
| Netezza TwinFin 64-bit SMP Hosts | | |
| Teradata on Linux | | |
| z/OS | | |
| Z64 | | |
| OpenVMS VAX | | |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | | |
| Microsoft Windows Server 2003 Datacenter 64-bit Edition | | |
| Microsoft Windows Server 2003 Enterprise 64-bit Edition | | |
| Microsoft Windows XP 64-bit Edition | | |
| Microsoft® Windows® for x64 | | |
| OS/2 | | |
| Microsoft Windows 95/98 | | |
| Microsoft Windows 2000 Advanced Server | | |
| Microsoft Windows 2000 Datacenter Server | | |
| Microsoft Windows 2000 Server | | |
| Microsoft Windows 2000 Professional | | |
| Microsoft Windows NT Workstation | | |
| Microsoft Windows Server 2003 Datacenter Edition | | |
| Microsoft Windows Server 2003 Enterprise Edition | | |
| Microsoft Windows Server 2003 Standard Edition | | |
| Microsoft Windows Server 2003 for x64 | | |
| Microsoft Windows Server 2008 | | |
| Microsoft Windows Server 2008 for x64 | | |
| Microsoft Windows XP Professional | | |
| Windows 7 Enterprise 32 bit | | |
| Windows 7 Enterprise x64 | | |
| Windows 7 Home Premium 32 bit | | |
| Windows 7 Home Premium x64 | | |
| Windows 7 Professional 32 bit | | |
| Windows 7 Professional x64 | | |
| Windows 7 Ultimate 32 bit | | |
| Windows 7 Ultimate x64 | | |
| Windows Millennium Edition (Me) | | |
| Windows Vista | | |
| Windows Vista for x64 | | |
| 64-bit Enabled AIX | | |
| 64-bit Enabled HP-UX | | |
| 64-bit Enabled Solaris | | |
| ABI+ for Intel Architecture | | |
| AIX | | |
| HP-UX | | |
| HP-UX IPF | | |
| IRIX | | |
| Linux | | |
| Linux for x64 | | |
| Linux on Itanium | | |
| OpenVMS Alpha | | |
| OpenVMS on HP Integrity | | |
| Solaris | | |
| Solaris for x64 | | |
| Tru64 UNIX | | |
*
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.
"ERROR:
variable does not have a numeric suffix" might be generated when you attempt to list dissimilar variable names with PROC TRANSPOSE.
| Date Modified: | 2012-04-17 10:26:22 |
| Date Created: | 2012-04-13 14:30:52 |