BookmarkSubscribeRSS Feed
GeorgeSAS
Lapis Lazuli | Level 10

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!

 

4 REPLIES 4
hollandnumerics
Pyrite | Level 9
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!
Philip R Holland
Holland Numerics: Blog and Forums
http://blog.hollandnumerics.org.uk
Reeza
Super User

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

GeorgeSAS
Lapis Lazuli | Level 10

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!

ballardw
Super User

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.

 

 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 971 views
  • 2 likes
  • 4 in conversation