![]() | ![]() | ![]() | ![]() | ![]() |
See this note which describes the most common reason for this error message. The following describes a specific problem that was fixed in SAS® 9.2. For general information on setting reference levels, see this note.
If, for two or more CLASS variables, you specify the REF= variable option in the CLASS statement to identify particular reference levels for the variables, then the following error will appear:
ERROR: Invalid reference value for xxxxxxx.
where xxxxxxx is the name of a CLASS variable. For example, this statement will generate the error:
class a(ref='1') b(ref='1');
To avoid the problem, remove the REF= options, or use REF=FIRST or LAST instead of specifying particular values. If you recode the variables or assign formats so that the intended reference levels have the highest sorted values, then you can remove the REF= options and get the desired coding.
A fix for SAS 9.1.3 (9.1 TS1M3) for this issue is available at: http://www.sas.com/techsup/download/hotfix/e9_sbcs_prod_list.html#013510
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | SAS/STAT | Microsoft Windows NT Workstation | 9 TS M0 | |
Microsoft Windows Server 2003 Standard Edition | 9 TS M0 | 9.2 TS1M0 | ||
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9 TS M0 | 9.2 TS1M0 | ||
Microsoft Windows 2000 Professional | 9 TS M0 | 9.2 TS1M0 | ||
Microsoft Windows 2000 Server | 9 TS M0 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Datacenter Edition | 9 TS M0 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9 TS M0 | 9.2 TS1M0 | ||
Microsoft Windows 2000 Advanced Server | 9 TS M0 | 9.2 TS1M0 | ||
Microsoft Windows 2000 Datacenter Server | 9 TS M0 | 9.2 TS1M0 | ||
Linux | 9 TS M0 | 9.2 TS1M0 | ||
z/OS | 9 TS M0 | 9.2 TS1M0 | ||
Solaris | 9 TS M0 | 9.2 TS1M0 | ||
64-bit Enabled Solaris | 9 TS M0 | 9.2 TS1M0 | ||
HP-UX | 9 TS M0 | 9.2 TS1M0 | ||
HP-UX IPF | 9 TS M0 | 9.2 TS1M0 | ||
64-bit Enabled HP-UX | 9 TS M0 | 9.2 TS1M0 | ||
OpenVMS Alpha | 9 TS M0 | 9.2 TS1M0 | ||
64-bit Enabled AIX | 9 TS M0 | 9.2 TS1M0 | ||
Microsoft Windows XP Professional | 9 TS M0 | 9.2 TS1M0 | ||
Tru64 UNIX | 9 TS M0 | 9.2 TS1M0 | ||
AIX | 9 TS M0 | 9.2 TS1M0 |