BookmarkSubscribeRSS Feed
aasgha
Calcite | Level 5

When I try to store a format in a lib other than WORK, I get this message:

proc format lib=sasusrmy;
ERROR: File SASUSRMY.FORMATS.CATALOG was created for a different operating system.

How can I overcome this problem?
 
3 REPLIES 3
ballardw
Super User

Is there already a formats catalog in that folder that you may have copied from somewhere?

aasgha
Calcite | Level 5

There is no formats catalog or any other catalog under my libname SASUSRMY.

Thanks.

Arthur.

.....................

aasgha
Calcite | Level 5

I am sorry when I looked at the folder to which the libref SASUSRMY points, I did find an old formats catalog sitting there. So, the formats are now created after I deleted that old formats catalog:

 56         proc format lib=sasusrmy.formats;
 57           value $sex
 58             "F"="Female"
 59             "M"="Male"
 60           ;
 NOTE: Format $SEX has been written to SASUSRMY.FORMATS.
            run;

I am grateful to you for your perception in quickly identifying the problem; kudos to you!!

 

However, the problem that remains now is this: the catalog 'formats' is created but does not appear listed under the libname 'SASUSRMY'.

 

How can this problem be overcome?

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