Usage Note 14549: "ERROR: File MYLIB.FORMATS.CATALOG was created for a different operating system" generated when accessing formats
The following errors might be generated when data files containing formats are processed across operating systems:
ERROR: File MYLIB.FORMATS.CATALOG was created for a different
ERROR: The format MYFMT was not found or could not be loaded.
For example, you might encounter the errors when running SAS® on Microsoft Windows processing UNIX data files with formats.
You can use the data values themselves rather than the formatted values by submitting the statement below. The NOFMTERR system option causes SAS to ignore the formats and use the underlying data values:
When you are running SAS® 9 on a 64-bit operating system and are processing SAS® 8 data files, you might encounter the errors mentioned above. This is due to the fact that SAS 8.2 under HP-UX, Solaris, and AIX operating systems was supported in both 32 and 64-bit architectures. However, only 64-bit architecture is supported for these platforms in SAS 9. Therefore, if you are running SAS 9 under one of these platforms, it is now 64-bit. When SAS tries to open a format catalog created in a previous 32-bit session, the errors are generated.
Similarly, under the Windows operating system, you might run SAS 9 in a Windows 64-bit environment and attempt to process data files created under a SAS 32-bit session (or vice-versa). If those data files contain permanent formats and SAS tries to open the 32-bit format catalog from Windows 64-bit, the errors are generated.
In order to circumvent this error, the format catalog must be recreated in the correct bit representation. This can be accomplished by doing one of the following:
Return to the source operating system to create a transport file or CNTLOUT= data set using PROC FORMAT.
Execute the PROC FORMAT statements that create the format catalog in your current SAS session.
For examples of using PROC FORMAT options to create a format catalog in different bit representations, see SAS Note 22194. For an example of using the CPORT/CIMPORT procedures for this situation, see the Full Code tab in SAS Note 38339.
Operating System and Release Information
64-bit Enabled Solaris
64-bit Enabled AIX
64-bit Enabled HP-UX
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
"ERROR: File MYLIB.FORMATS.CATALOG was created for a different operating system" might be generated when data files containing formats are processed across operating systems.