SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 13853: "ERROR: The number of members in the 'hier-name' hierarchy exceeds the maximum number allowed."

DetailsHotfixAboutRate It

You may get the following error messages when trying to build a cube with SAS OLAP Cube Studio or PROC OLAP:

   ERROR: The number of members in the "hier-name" hierarchy 
          exceeds the maximum number allowed.
   ERROR: The class ordinals cannot be initialized.

This error can occur when the number of members specified for a hierarchy exceeds the maximum amount allowed.

To check if you have reached this limit, use the following formula:

log2(number of members in first level of hierarchy)
     + log2(number of members in second level of hierarchy)
     + ....
     + log2(number of members in nth level of hierarchy)
     < 64

To compute this value in a DATA step, you can use the SAS function LOG2, which returns the logarithm to the base 2.

Prior to Service Pack 4, hierarchies with less than 10 members per levelwere rounded up to 10 to make sure sufficient space remains. As ofService Pack 4, level padding will no longer occur. If the error is received at Service Pack 4, your hierarchy must be redesigned.

In SAS 9.2, the maximum number of members is 2^32 members per hierarchy

To circumvent this error and be able to create your OLAP cube, it is recommended that you split the hierarchy.

Select the Hot Fix tab in this note to access the hot fix for this issue. The hot fix ensures that additional padding of hierarchical levels is not performed by the OLAP procedure.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS OLAP ServerTru64 UNIX9.1 TS1M3
64-bit Enabled AIX9.1 TS1M3
OpenVMS Alpha9.1 TS1M3
64-bit Enabled HP-UX9.1 TS1M3
HP-UX IPF9.1 TS1M3
Linux on Itanium9.1 TS1M3
Linux9.1 TS1M3
z/OS9.1 TS1M3
64-bit Enabled Solaris9.1 TS1M3
Microsoft Windows 2000 Advanced Server9.1 TS1M3
Microsoft Windows 2000 Datacenter Server9.1 TS1M3
Microsoft Windows 2000 Professional9.1 TS1M3
Microsoft Windows 2000 Server9.1 TS1M3
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M3
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M3
Microsoft Windows Server 2003 Standard Edition9.1 TS1M3
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M3
Microsoft Windows NT Workstation9.1 TS1M3
Microsoft Windows XP Professional9.1 TS1M3
* 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.