Problem Note 9366: ODS PRINTER does not close registry keys properly
When running large programs and creating numerous (into the thousands)
PCL/PDF/PS files from ODS PRINTER, the following errors may be
encountered:
ERROR: Exceeded the maximum number of open keys allowed
ERROR: Unable to find the "Driver" for the printer
ERROR: The printer "XX" is unknown (or the SAS registry is
corrupted).
(where XX is the filetype, PDF, POSTSCRIPT, etc.)
There is a leak whereby registry keys are being opened (the maximum
number is 16,000), but are not all being closed.
This can be verified with the following code:
proc registry keystatus;
run;
The keys are not completely closed until SAS is terminated so the
current circumvention is to break the code up into individual pieces,
running part of it, closing SAS, and then running the subsequent parts.
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#009366
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#009366
Operating System and Release Information
| SAS System | Base SAS | Microsoft Windows NT Workstation | 8.2 TS2M0 | 9 TS M0 |
| Microsoft Windows XP Professional | 8.2 TS2M0 | 9 TS M0 |
| Microsoft Windows 95/98 | 8.2 TS2M0 | |
| Windows Millennium Edition (Me) | 8.2 TS2M0 | |
| Microsoft Windows 2000 Server | 8.2 TS2M0 | 9 TS M0 |
| Microsoft Windows 2000 Datacenter Server | 8.2 TS2M0 | 9 TS M0 |
| Microsoft Windows 2000 Professional | 8.2 TS2M0 | 9 TS M0 |
| Microsoft Windows 2000 Advanced Server | 8.2 TS2M0 | 9 TS M0 |
| OpenVMS VAX | 8.2 TS2M0 | |
| Solaris | 8.2 TS2M0 | 9 TS M0 |
| IRIX | 8.2 TS2M0 | |
| 64-bit Enabled Solaris | 8.2 TS2M0 | 9 TS M0 |
| OS/2 | 8.2 TS2M0 | |
| z/OS | 8.2 TS2M0 | 9 TS M0 |
| Linux | 8.2 TS2M0 | 9 TS M0 |
| ABI+ for Intel Architecture | 8.2 TS2M0 | |
| Tru64 UNIX | 8.2 TS2M0 | 9 TS M0 |
| 64-bit Enabled HP-UX | 8.2 TS2M0 | 9 TS M0 |
| 64-bit Enabled AIX | 8.2 TS2M0 | 9 TS M0 |
| HP-UX | 8.2 TS2M0 | 9 TS M0 |
| CMS | 8.2 TS2M0 | |
| OpenVMS Alpha | 8.2 TS2M0 | 9 TS M0 |
| AIX | 8.2 TS2M0 | 9 TS M0 |
*
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: | medium |
| Topic: | SAS Reference ==> ODS (Output Delivery System)
|
| Date Modified: | 2004-03-23 13:11:36 |
| Date Created: | 2003-02-07 11:26:44 |