From the course: SAS® 9.4 Cert Prep: Part 11 Creating and Using Custom Formats
Unlock this course with a free trial
Join today to access over 22,600 courses taught by industry experts.
Storing custom formats - SAS Tutorial
From the course: SAS® 9.4 Cert Prep: Part 11 Creating and Using Custom Formats
Storing custom formats
- [Instructor] By default, custom formats are stored in the temporary work library in a catalog named Formats. A SAS catalog is a special SAS file that stores different types of information in smaller units called catalog entries. If you want to create permanent custom formats, you must specify where they are stored. You can use the library equal or lib equal option to specify a library and a catalog name, such as pg2.myfmts. If you specify just the library, SAS uses the default catalog named Formats. When SAS encounters a format, it has to look up the format definition, and by default, SAS searches for formats in the formats catalog of the work library. And if there is a library named Library, it also searches in the formats catalog there. If you save your custom formats to another location, you must tell SAS where to find them. In the global option statement, you use the fmtsearch equal option to specify additional…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.