DATA Step, Macro, Functions and more

format error for different OS

Reply
Regular Contributor
Posts: 207

format error for different OS

Hello,

when I try to open a catalog file(formats) in PC SAS,

it shows me an error:

    "ERROR: File xxxxx.CATALOG was created for a different operating system".

 

I know the formats was  created in UNIX, can I open it in Windows SAS?

 

Thanks!

 

Contributor
Posts: 35

Re: format error for different OS

Format catalogs are dependent on platform AND bit, so catalogs created using Windows and UNIX are not compatible, AND Windows 32-bit and Windows 64-bit create incompatible catalogs too!

Much better to specify formats in programs for whatever platform you are using, because that way they are always compatible!
Super User
Posts: 17,840

Re: format error for different OS

I keep a file of format definitions that are compiled on startup.

Regular Contributor
Posts: 207

Re: format error for different OS

[ Edited ]

If that is not compatible,how I could get information of the UNIX version formats at windows environment? or How could I create a windows version of formats base on the current UNIX version?Thanks!

Super User
Posts: 10,500

Re: format error for different OS

Your "solution" will involve either getting 1) the code used to create the formats, 2) a data set created using the Cntlout option with proc format and tranferred in a form you can read, 3) have the source export the catalogs containing the formats with Cport (and pray) or 4) cry.

At least that's what my options were.

 

 

Ask a Question
Discussion stats
  • 4 replies
  • 125 views
  • 2 likes
  • 4 in conversation