What is the best way to migrate formats from one location to another?


Migrating SAS applications, SAS data sets, and other SAS structures such as user-defined formats and informats is becoming a common occurrence. This answer focuses on the methods available for migrating user-defined formats and informats. The discussion is limited to formats created with SAS Release 6.03 and above.

The following is a list of the available options:

There is no best method. Your specific situation controls your options as well as the optimal solution. The first two options are somewhat self-explanatory and are preferred if possible. Unfortunately, it might happen that neither areĀ feasible due to unlike systems or no existing PROC FORMAT source code. If this is the case, one of the remaining methods must be used. These methods might both be able to overcome the problems that prevent use of the first two methods; however, PROC FORMAT with CNTLOUT= and CNTLIN= is the most flexible.