Usage Note 45423: An extension-load error occurs when you start a 32-bit SAS® session from a 64-bit SAS® session
An extension-load error might occur when you attempt to start a 32-bit child SAS session from a 64-bit SAS session that runs in the Microsoft Windows operating environment by using an X statement or other system-command interface. The following example illustrates the use of an X statement:
x """c:\path-to-32-bit-sas.exe-file"" -sysin ""c:\path-to-code.sas-file""";
When you submit this statement from a 64-bit edition of SAS on the same machine, the following messages might occur:
Critical error loading host supervisor.
NLS: Extension Load Error
[OK]
The problem occurs because the SAS TKPATH environment variable is set to search the current 64-bit environment paths. As a result, the 32-bit edition of SAS cannot find its host extensions.
To work around the problem, reset the TKPATH environment variable before you submit the X statement,a shown in this example:
options set=TKPATH "";
x """c:\path-to-32-bit-sas.exe-file"" -sysin ""c:\path-to-code.sas-file""";
Operating System and Release Information
| SAS System | Base SAS | Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.21 | | 9.2 TS2M0 | |
| Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.21 | | 9.2 TS2M0 | |
| Microsoft Windows XP 64-bit Edition | 9.21 | | 9.2 TS2M0 | |
| Microsoft® Windows® for x64 | 9.21 | | 9.2 TS2M0 | |
| Microsoft Windows Server 2003 for x64 | 9.21 | | 9.2 TS2M0 | |
| Microsoft Windows Server 2008 for x64 | 9.21 | | 9.2 TS2M0 | |
| Windows Vista for x64 | 9.21 | | 9.2 TS2M0 | |
| 64-bit Enabled AIX | 9.21 | | 9.2 TS2M0 | |
| 64-bit Enabled HP-UX | 9.21 | | 9.2 TS2M0 | |
| 64-bit Enabled Solaris | 9.21 | | 9.2 TS2M0 | |
| Linux for x64 | 9.21 | | 9.2 TS2M0 | |
| Solaris for x64 | 9.21 | | 9.2 TS2M0 | |
*
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.
| Date Modified: | 2012-05-24 15:34:28 |
| Date Created: | 2012-01-18 11:02:05 |