Problem Note 10386: "ERROR: Invalid Argument" or incorrect results when using ZIP code
functions
The table used for ZIP code functions, such as ZIPSTATE, ZIPNAME, and
ZIPNAMEL is outdated, so users may get INVALID ARGUMENT errors when
they use a valid ZIP code with one of the functions. They could also
get the incorrect state as a result. For example:
513 data _null_;
514 zip='39850';
515 st=ZIPSTATE(zip);
516 put st=;
517 run;
produces:
NOTE: Invalid argument to function ZIPSTATE at line 515 column 4.
The correct result is GA. Or:
518 data _null_;
519 zip='06390';
520 st=ZIPSTATE(zip);
521 put st=;
522 run;
produces:
st=CT
The correct result is NY.
The ZIP code functions are updated in SAS 9.1.
A Technical Support hot fix for Release 8.2 (TS2M0) for this
issue is available at:
http://www.sas.com/techsup/download/hotfix/82_sbcs_prod_list.html#010386
For customers running SAS with Asian Language Support (DBCS), this
hot fix should be downloaded from:
http://www.sas.com/techsup/download/hotfix/82_dbcs_prod_list.html#010386
Operating System and Release Information
| SAS System | Base SAS | Microsoft Windows 95/98 | 8.2 TS2M0 | 9.1 |
| Microsoft Windows XP Professional | 8.2 TS2M0 | 9.1 |
| Microsoft Windows NT Workstation | 8.2 TS2M0 | 9.1 |
| Windows Millennium Edition (Me) | 8.2 TS2M0 | 9.1 |
| Microsoft Windows 2000 Server | 8.2 TS2M0 | 9.1 |
| Microsoft Windows 2000 Professional | 8.2 TS2M0 | 9.1 |
| OpenVMS VAX | 8.2 TS2M0 | 9.1 |
| Microsoft Windows 2000 Datacenter Server | 8.2 TS2M0 | 9.1 |
| Microsoft Windows 2000 Advanced Server | 8.2 TS2M0 | 9.1 |
| Solaris | 8.2 TS2M0 | 9.1 |
| 64-bit Enabled Solaris | 8.2 TS2M0 | 9.1 |
| z/OS | 8.2 TS2M0 | 9.1 |
| IRIX | 8.2 TS2M0 | 9.1 |
| OS/2 | 8.2 TS2M0 | 9.1 |
| Linux | 8.2 TS2M0 | 9.1 |
| HP-UX | 8.2 TS2M0 | 9.1 |
| ABI+ for Intel Architecture | 8.2 TS2M0 | 9.1 |
| OpenVMS Alpha | 8.2 TS2M0 | 9.1 |
| CMS | 8.2 TS2M0 | 9.1 |
| 64-bit Enabled HP-UX | 8.2 TS2M0 | 9.1 |
| 64-bit Enabled AIX | 8.2 TS2M0 | 9.1 |
| Tru64 UNIX | 8.2 TS2M0 | 9.1 |
| AIX | 8.2 TS2M0 | 9.1 |
*
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.
| Type: | Problem Note |
| Priority: | high |
| Topic: | SAS Reference ==> Functions
|
| Date Modified: | 2004-02-18 07:46:12 |
| Date Created: | 2003-07-09 15:30:03 |