Hi All!
The company I work for recently moved from SAS Base to SAS EG 8.2. We work with a lot of formats, and have an extensive format catalog from SAS Base.
Is there anyway to import these formats into SAS EG without having to recreate them with the Create Format tasks available?
Thanks!
Thanks!
You should not have to move any formats just to use SAS Enterprise Guide. EG is just a client that connects to SAS, and SAS is the tool that accesses your formats.
Your change might also involve a switch in where your SAS is installed though. For example, from Base SAS on Windows to a central environment on Unix. In that case, your SAS formats (and any other SAS catalog resource) need to be migrated. You can use PROC MIGRATE or PROC CPORT/CIMPORT for this.
Once migrated, your formats need to be in your OPTIONS FMTSEARCH path -- and SAS and EG will just find them.
@Reeza has good advice about preserving the format definitions as data -- this makes it easier to recreate the formats in different environments. You'll also be able to view format definitions in EG with the Catalog and Format Explorer.
Hi @ChrisHemedinger ,
thanks for the reply.
SAS Eg is on a new server, and we had to remove the SAS Base connection altogether as the version we had was not compatible with SAS EG. Unfortunately I just have the catalog - no code or the data for the formats. As there are a few hundred formats we use, I was trying to avoid having to export them all into a data format to then import them back in...
I'll try the PROC options.
Thanks!
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.