Problem Note 34196: Errors are received when reading a SAS® 6.03/6.04 data set in a 64-bit SAS® session
The following error is issued when you try to read a SAS® 6.03/6.04 data set in a Microsoft Windows 64-bit SAS® session:
ERROR: The value is not a valid SAS name.
In order to use a SAS 6.03/6.04 legacy data set in a Windows 64-bit SAS session prior to the third maintenance release of SAS® 9.4 (TS1M3), you must use a two-step process to convert the data to a later SAS release. Step two can be omitted from the process if you are using SAS® 9.3 or higher in the 64-bit environment or if you are comfortable using CEDA (Cross Environment Data Access) processing to access the 32-bit file in your 64-bit SAS session.
- In a Windows 32-bit SAS session (SAS 6.12 or later), create a SAS file in Windows 32-bit file format.
- Convert the 32-bit data set in a Windows 64-bit SAS session.
If you no longer have access to a Windows 32-environment, see Usage Note 38880: General questions and answers regarding converting customer data to a more current SAS release.
Sample code for the two-step process identified above, follows:
/* Example code to convert a SAS 6.04 (.ssd) data set to 64-bit Windows */
/* USE THE V604 ENGINE IN 32-BIT SAS */
/* Note that SAS 9.2 (TS1M0) requires a hot fix for V604 engine */
libname mytest v604 'c:\';
/* Point to the target folder. */
libname newdat 'c:\';
/* Use the COPY procedure with the NOCLONE option. */
proc copy in=mytest out=newdat noclone;
/* If individual SAS 6.04 files, use SELECT statement. */
/* Default is all 6.04 files in the library. */
select accident;
run;
/* Use PROC COPY or PROC MIGRATE ON 64-BIT MACHINE */
/* Note that if you used SAS 6.12 file in previous step, */
/* you will need to specify v612 as the engine in the LIBNAME statement. */
/*libname source v612 'c:\';*/
libname source 'c:';
libname target 'c:\sasdemo';
proc copy in=source out=target noclone;
select accident;
run;
Operating System and Release Information
SAS System | Base SAS | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS1M0 | |
Microsoft Windows XP 64-bit Edition | 9.2 TS1M0 | |
Microsoft® Windows® for x64 | 9.2 TS1M0 | 9.4 TS1M3 |
*
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.
Attempting to read a SAS® 6.04 data set using the V604 engine on Microsoft Windows 64-bit hosts produces errors in SAS® 9.4 TS1M2 or earlier. This note describes a two-step process of converting the file that is useful if you have access to SAS on Windows 32-bit.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2008-12-17 10:18:23 |
Date Created: | 2008-12-15 01:14:48 |