SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 46164: &SYSSITE incorrectly returns site numbers with leading zeros

DetailsHotfixAboutRate It

8 digit site numbers are incorrectly returned as 10 digit numbers with leading zeros.

If the site number is to be returned as:

   12345678

it is incorrectly returned as:

   0012345678

If a 10 digit number is being returned with 2 leading zeros the following code can be used to return the proper site number:

   %let site=%substr(&syssite,3);


Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemN/Az/OS9.2 TS2M39.3 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.2 TS2M39.3 TS1M2
Microsoft Windows XP 64-bit Edition9.2 TS2M39.3 TS1M2
Microsoft® Windows® for x649.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 Standard Edition9.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 for x649.2 TS2M39.3 TS1M2
Microsoft Windows Server 20089.2 TS2M39.3 TS1M2
Microsoft Windows Server 2008 for x649.2 TS2M39.3 TS1M2
Microsoft Windows XP Professional9.2 TS2M39.3 TS1M2
Windows 7 Enterprise 32 bit9.2 TS2M39.3 TS1M2
Windows 7 Enterprise x649.2 TS2M39.3 TS1M2
Windows 7 Home Premium 32 bit9.2 TS2M39.3 TS1M2
Windows 7 Home Premium x649.2 TS2M39.3 TS1M2
Windows 7 Professional 32 bit9.2 TS2M39.3 TS1M2
Windows 7 Professional x649.2 TS2M39.3 TS1M2
Windows 7 Ultimate 32 bit9.2 TS2M39.3 TS1M2
Windows 7 Ultimate x649.2 TS2M39.3 TS1M2
Windows Vista9.2 TS2M39.3 TS1M2
Windows Vista for x649.2 TS2M39.3 TS1M2
64-bit Enabled AIX9.2 TS2M39.3 TS1M2
64-bit Enabled HP-UX9.2 TS2M39.3 TS1M2
64-bit Enabled Solaris9.2 TS2M39.3 TS1M2
HP-UX9.2 TS2M39.3 TS1M2
HP-UX IPF9.2 TS2M39.3 TS1M2
Linux9.2 TS2M39.3 TS1M2
Linux for x649.2 TS2M39.3 TS1M2
Linux on Itanium9.2 TS2M39.3 TS1M2
OpenVMS on HP Integrity9.2 TS2M39.3 TS1M2
Solaris for x649.2 TS2M39.3 TS1M2
Tru64 UNIX9.2 TS2M39.3 TS1M2
* 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.