BookmarkSubscribeRSS Feed
ursula
Pyrite | Level 9

HI, 

I received a SAS file and a format catalog.

the problem is, I'm not able to open the file, this is the error message:

 

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

 my computer running a 64 bit, I believe the format was created with 32 bit.

I do not have a computer that can run 32 bit.

 

is it a way to open the format catalog so I can manually copy and paste the part that I need in to the data step?

 

any help will be very appreciated.

 

thank you in advance!

4 REPLIES 4
ballardw
Super User

Basically if you don't have access to another SAS system that is 32 bit and compatible your options are pretty limited.

 

Best, always, is to have the code that will generate the formats in the catalog. Go back to the source of the catalog and see if they can provide the code.

 

Another option may be to contact SAS technical support and see if they would either do the conversion or create a CNTLIN data set that would allow you recreate the catalog in needed format.

 

You wouldn't be able to open and copy pieces for a data step anyway. You could use Proc Format to create a cntlout data set with details of the formats or the FMTLIB option to get descriptions. To use a format in an data step the catalog would have to be in the current FMTSEARCH path for your system.

ursula
Pyrite | Level 9

Thank you for the response.

it's a good suggestion.

 

SASKiwi
PROC Star

Get the supplier to use PROC CPORT on the format catalog, then at your end you can use PROC CIMPORT to read the ported catalog.

ursula
Pyrite | Level 9

Thanks for the response.

it's a good option.

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1385 views
  • 5 likes
  • 3 in conversation