SAS 9.2 Migration – Migrating Formats

And following on with the theme of migrating SAS formats …..

SAS Support article here:

http://support.sas.com/kb/22/194.html

Outlines how to migrate formats across SAS systems.

Basically you just:

1) Export the formats to a transport file by using the follwing code:

  libname library 'location-of-existing-formats-catalog';
  libname trans xport 'transport-file-name';
  proc format library=library cntlout=trans.cntlfmt;

2) Import the formats from the transport file using the following code:
  libname library 'output-library-for-format-storage';
  libname trans xport 'transport-file-name-from-sending-site';
  proc format library=library cntlin=trans.cntlfmt;

This is of course assuming you don’t have the code that originally created teh formats, because you could just run that instead. But bet you dont as you have just searched for something that made you find this blog post ;-)


  • Share/Bookmark
Leave a comment

0 Comments.

Leave a Reply


[ Ctrl + Enter ]