SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 34196: Errors are received when reading a SAS® 6.03/6.04 data set in a 64-bit SAS® session

DetailsAboutRate It

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.

  1. In a Windows 32-bit SAS session (SAS 6.12 or later), create a SAS file in Windows 32-bit file format.
  2. 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

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASMicrosoft® Windows® for 64-Bit Itanium-based Systems9.2 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.2 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.2 TS1M0
Microsoft Windows XP 64-bit Edition9.2 TS1M0
Microsoft® Windows® for x649.2 TS1M09.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.