Chapter 7: Creating and Applying User-Defined Formats
-
If you don't specify the LIBRARY= option on the PROC FORMAT statement, your formats are stored in Work.Formats, and they exist ...
-
only for the current procedure.
-
only for the current DATA step.
-
only for the current SAS session.
-
permanently.
Correct answer: cIf you do not specify the LIBRARY= option, formats are stored in a default format catalog named Work.Formats. As the libref Work implies, any format that is stored in Work.Formats is a temporary format that exists only for the current SAS session. -
-
Which of the following statements will store your formats in a permanent catalog?
-
libname library 'c:\sas\formats\lib'; proc format lib=library ...;
-
Get SAS Certification Prep Guide: Base Programming for SAS 9, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.