BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I'm using Linux and want to use a SAS file with formats that was made on a Windows computer. The formats are in a file (catalog) named formats.sas7bcat. I do not have access to the original SAS proc formats that created this file. I am able to read the datafile, but when a proc need a format I get the error "ERROR: File TUM.FORMATS.CATALOG was created for a different operating system.
ERROR: Format $CENTER not found or couldn't be loaded for variable Center." How can I convert the formats to Linux?

KnutH
3 REPLIES 3
LinusH
Tourmaline | Level 20
Basically, you need to export the catalog from the Windows environment in a transport file (see PROC CPORT/CIMPORT for details). If it's impossible to get an extract from your format catalog origin, maybe you have other collogues/friends with Windows SAS that can do it for you, or, ultimately, SAS mat do it for you if ask very friendly...;-)

/Linus
Data never sleeps
deleted_user
Not applicable
You can use the FileZilla to transfer file from Window to unix in ASCII mode
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Hacks aside - suggest from experience that you stick with what works for the SAS system catalogs and files, and even so, post-migration test scenario execution is highly recommended.

Scott Barry
SBBWorks, Inc.

Moving and Accessing SAS Files between Operating Environments
http://support.sas.com/documentation/cdl/en/movefile/59598/HTML/default/moveacc.htm


Tips and Techniques For Moving Between Operating Environments
J. Meimei Ma, Quintiles, North Carolina, U.S.A.
Sandra Schlotzhauer, Schlotzhauer Consulting, North Carolina, U.S.A.
http://sas.com/proceedings/sugi23/Begtutor/p56.pdf

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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