O'Reilly logo

SAS Certification Prep Guide: Base Programming for SAS 9, Third Edition by SAS Institute

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7: Creating and Applying User-Defined Formats

  1. If you don't specify the LIBRARY= option on the PROC FORMAT statement, your formats are stored in Work.Formats, and they exist ...
    1. only for the current procedure.
    2. only for the current DATA step.
    3. only for the current SAS session.
    4. permanently.
    Correct answer: c
    If 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.
  2. Which of the following statements will store your formats in a permanent catalog?
    1. libname library 'c:\sas\formats\lib'; 
      proc format lib=library 
         ...;
      

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required