BookmarkSubscribeRSS Feed
rgr1_
Calcite | Level 5

Is there any way to retrieve information about formats that are created in different operating system? There is no way to find out what operating system was used to create the format.

5 REPLIES 5
SASKiwi
PROC Star

SAS formats are stored in SAS catalogs and as well as being OS-specific they are different depending on the bitness of the SAS version used to create them. Obviously the best way to recreate SAS formats is from the PROC FORMAT source code used to build them in the first place. Have you tried listing what is in the catalog?

 

proc format cntllib = MyLib.MyFormats;
run;

Contacting SAS Tech Support is another option. They are likely to have special tools for dealing with problems like this.

rgr1_
Calcite | Level 5

Hi. Was that proc format cntlin option? If so, It will not work since format is created in different operating system.

rgr1_
Calcite | Level 5

I don't have the code available. Only catalogue file.

Kurt_Bremser
Super User

Then your best bet is SAS technical support, or anybody else that can provide the original combination of operating system and SAS version.

Also see Maxims 26 & 27.

 

And let this be an object lesson that SAS catalogs are the worst means of long-term storage.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 5 replies
  • 942 views
  • 0 likes
  • 3 in conversation