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.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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