Help using Base SAS procedures

Format Catalog 32 bit to 64 bit - any help in SAS 9.4?

Reply
Occasional Learner
Posts: 1

Format Catalog 32 bit to 64 bit - any help in SAS 9.4?

I have a format catalog that was made in 32 bit SAS. In the past I have had to have someone with 32 bit SAS convert it to 64 bit SAS compatible to get it to work.

Is there anything new in SAS 9.4 that will help with this problem? Like a way for SAS to read the 32 bit file now without converting it?

Thanks --

Sara

Super User
Posts: 5,434

Re: Format Catalog 32 bit to 64 bit - any help in SAS 9.4?

Posted in reply to sjtcharlotte

Sorry, I don't think so, But when looking, the documentation is not very clear about catalogues from the same release (it is?) but different bit. But you probably need to access the files from a 32 bit SAS. But if you have a license for Windows (I presume), you can get a license for 32-bit SAS as well, But it requires some extra work installing a separate Base SAS.

Data never sleeps
Trusted Advisor
Posts: 3,215

Re: Format Catalog 32 bit to 64 bit - any help in SAS 9.4?

With catalogs you have to be at the same version and on the same SAS OS-version. Having forgot one will make the content inaccessible.

Your only hope is someone still running at that SAS Version and OS converting that for you.   Using an cport cimport can give other problems as your encoding better to say encoding must be exchangeable. A latin-1 encoding to an utf8 sas based version is not possible.   UE is for example running SAS in utf8. There are differences with what most people are still doing.

As catalog are often used for compiled sas objects the original as code could be your way out. Yes I know sas-code can be saved in catalogs and scl types are catalog only.

---->-- ja karman --<-----
Respected Advisor
Posts: 4,173

Re: Format Catalog 32 bit to 64 bit - any help in SAS 9.4?

Posted in reply to sjtcharlotte

Best thing would be you get access to the code which creates these format catalog entries. If you can get such access then the only thing you would need to do is re-run this code in your environment and store the result in a library of your choosing.

And here another option for Windows (and yes, if it's more than just changing the bit-ness then there might be additional challenges).

44047 - Format catalogs must be converted when moving from a Microsoft Windows 32-bit operating syst...

Super User
Posts: 11,343

Re: Format Catalog 32 bit to 64 bit - any help in SAS 9.4?

Posted in reply to sjtcharlotte

It is probably too late for this but I have set up all of my code that creates permanent format catalogs to also create a dataset using the CNTLOUT option. Then if such a conversion comes up again I can recreate the formats using Proc Format with CNTLIN.

Trusted Advisor
Posts: 3,215

Re: Format Catalog 32 bit to 64 bit - any help in SAS 9.4?

ballardw as you have your code that is creating the permanent format catalog, why is that code not permanent saved at the OS level so you can use it later?

---->-- ja karman --<-----
Super User
Posts: 11,343

Re: Format Catalog 32 bit to 64 bit - any help in SAS 9.4?

Jaap, this is a belts AND suspenders approach. I have the code as well. But if I send a copy of the library to an archive and forget to send the code, which is not kept in the same physical location, then I have a recovery option even without the 32-bit/ 64_bit issues.

Trusted Advisor
Posts: 3,215

Re: Format Catalog 32 bit to 64 bit - any help in SAS 9.4?

Posted in reply to sjtcharlotte

ballardw, it is good approach as another safety belt. Would like that as a standard approach.
I am educated a little bit different. There should be a release management process.
That implies source (code object or whatever) and runnable versions (eg formats) should get a production status, it should been verified they belonging together, at least done by with test/acceptance promotion deployment step.  This is for more professional approaches becoming more and more a requirement.  The version management at development for coordinating the bigger teams of developers.

I know this cannot be done that way when you are on you own, the only one of doing this work with sas.   

---->-- ja karman --<-----
Contributor
Posts: 26

Re: Format Catalog 32 bit to 64 bit - any help in SAS 9.4?

Did you try SAS support?

Occasional Contributor
Posts: 16

Re: Format Catalog 32 bit to 64 bit - any help in SAS 9.4?

Posted in reply to sjtcharlotte

There is an article on support.sas.com about how to handle this using CPORT/CIMPORT.

38339 - SAS® file compatibility when upgrading from 32-bit to 64-bit Microsoft Windows

Ask a Question
Discussion stats
  • 9 replies
  • 1301 views
  • 1 like
  • 7 in conversation