Problem Note 46164: &SYSSITE incorrectly returns site numbers with leading zeros
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
SAS System | N/A | z/OS | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows XP 64-bit Edition | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft® Windows® for x64 | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows Server 2003 for x64 | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows Server 2008 | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows Server 2008 for x64 | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft Windows XP Professional | 9.2 TS2M3 | 9.3 TS1M2 |
Windows 7 Enterprise 32 bit | 9.2 TS2M3 | 9.3 TS1M2 |
Windows 7 Enterprise x64 | 9.2 TS2M3 | 9.3 TS1M2 |
Windows 7 Home Premium 32 bit | 9.2 TS2M3 | 9.3 TS1M2 |
Windows 7 Home Premium x64 | 9.2 TS2M3 | 9.3 TS1M2 |
Windows 7 Professional 32 bit | 9.2 TS2M3 | 9.3 TS1M2 |
Windows 7 Professional x64 | 9.2 TS2M3 | 9.3 TS1M2 |
Windows 7 Ultimate 32 bit | 9.2 TS2M3 | 9.3 TS1M2 |
Windows 7 Ultimate x64 | 9.2 TS2M3 | 9.3 TS1M2 |
Windows Vista | 9.2 TS2M3 | 9.3 TS1M2 |
Windows Vista for x64 | 9.2 TS2M3 | 9.3 TS1M2 |
64-bit Enabled AIX | 9.2 TS2M3 | 9.3 TS1M2 |
64-bit Enabled HP-UX | 9.2 TS2M3 | 9.3 TS1M2 |
64-bit Enabled Solaris | 9.2 TS2M3 | 9.3 TS1M2 |
HP-UX | 9.2 TS2M3 | 9.3 TS1M2 |
HP-UX IPF | 9.2 TS2M3 | 9.3 TS1M2 |
Linux | 9.2 TS2M3 | 9.3 TS1M2 |
Linux for x64 | 9.2 TS2M3 | 9.3 TS1M2 |
Linux on Itanium | 9.2 TS2M3 | 9.3 TS1M2 |
OpenVMS on HP Integrity | 9.2 TS2M3 | 9.3 TS1M2 |
Solaris for x64 | 9.2 TS2M3 | 9.3 TS1M2 |
Tru64 UNIX | 9.2 TS2M3 | 9.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.
8 digit site numbers are incorrectly returned as 10 digit numbers with leading zeros.
Type: | Problem Note |
Priority: | low |
Date Modified: | 2012-05-01 14:50:04 |
Date Created: | 2012-03-28 14:24:52 |