Usage Note 44047: Format catalogs must be converted when moving from a Microsoft Windows 32-bit operating system to a Microsoft Windows 7 64-bit operating system
SAS® Format catalogs are machine-dependent. Attempting to use a format that was created in a different operating environment causes the following error:
ERROR: File FORMATS.CATALOG was created for a different operating system. NOTE: The SAS System stopped processing this step because of errors.
This error can also occur when you double-click on a data set to view it and the variables are associated with permanent user-defined formats. To view the formatted values, you must convert the format catalog for use in the new operating environment.
If you have a Microsoft Windows 32-bit format catalog and want to use it in a Microsoft Windows 64-bit environment, you must have access to a 32-bit SAS session to convert it. If you do not have access to SAS in 32-bit Windows, then the only recourse is to submit the system option NOFMTERR to avoid the error. The NOFMTERR system option allows underlying data values to be displayed, and the user-defined formats are ignored.
This note is intended to provide you with a sample for migrating a 32-bit Windows format catalog to the 64-bit Windows architecture.
In Windows 32-bit SAS, create a transport file with the CPORT procedure:
-
libname my32 'c:\path-to-library'; /* path where Formats.sas7bcat exists */
filename trans 'c:\path-to-library\filename.cpt'; /* transport file you are creating */
proc cport lib=my32 file=trans memtype=catalog;
select formats;
run;
- In Windows 64-bit SAS, "unload" the transport file:
libname my64 'path-to-newlib'; /* path to store the new Formats.sas7bcat file */
filename trans 'c:\path-to-library\filename.cpt'; /* same as in Step 1 above */
proc cimport infile=trans lib=my64;
run;
- You should now have a file called Formats.sas7bcat in the MY64 library.
The FORMAT procedure with the CNTLOUT/CNTLIN options is the most robust method available for migrating user-defined format libraries. See Usage Note 22194, "How to use the CNTLOUT= and CNTLIN= options in the FORMAT procedure to move formats from one platform to another." For more information about PROC CPORT, see Overview: CPORT Procedure.
Operating System and Release Information
SAS System | Base SAS | Windows Vista for x64 | | |
Windows Vista | | |
Windows Millennium Edition (Me) | | |
Windows 7 Ultimate x64 | | |
Windows 7 Ultimate 32 bit | | |
Windows 7 Professional x64 | | |
Windows 7 Professional 32 bit | | |
Windows 7 Home Premium x64 | | |
Windows 7 Home Premium 32 bit | | |
Windows 7 Enterprise x64 | | |
Windows 7 Enterprise 32 bit | | |
Microsoft Windows XP Professional | | |
Microsoft Windows Server 2012 Std | | |
Microsoft Windows Server 2012 R2 Std | | |
Microsoft Windows Server 2012 R2 Datacenter | | |
Microsoft Windows Server 2012 Datacenter | | |
Microsoft Windows Server 2008 for x64 | | |
Microsoft Windows Server 2008 R2 | | |
Microsoft Windows Server 2008 | | |
Microsoft Windows Server 2003 for x64 | | |
Microsoft Windows Server 2003 Standard Edition | | |
Microsoft Windows Server 2003 Enterprise Edition | | |
Microsoft Windows Server 2003 Datacenter Edition | | |
Microsoft Windows NT Workstation | | |
Microsoft Windows 2000 Professional | | |
Microsoft Windows 2000 Server | | |
Microsoft Windows 2000 Datacenter Server | | |
Microsoft Windows 2000 Advanced Server | | |
Microsoft Windows 95/98 | | |
Microsoft Windows 8.1 Pro 32-bit | | |
Microsoft Windows 8.1 Pro | | |
Microsoft Windows 8.1 Enterprise x64 | | |
Microsoft Windows 8.1 Enterprise 32-bit | | |
Microsoft Windows 8 Pro x64 | | |
Microsoft Windows 8 Pro 32-bit | | |
Microsoft Windows 8 Enterprise x64 | | |
Microsoft Windows 8 Enterprise 32-bit | | |
OS/2 | | |
Microsoft® Windows® for x64 | | |
Microsoft Windows XP 64-bit Edition | | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | | |
*
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.
If you do not convert your format catalogs to a format that your new operating system can read, a "catalog was created for another operating system" error is generated anytime the former catalog is referenced. This note contains sample code to convert the catalog to Windows 64-bit format.
Date Modified: | 2011-10-19 15:16:14 |
Date Created: | 2011-08-18 12:08:25 |