118k views
5 votes
Given the following OPTIONS statement, in what order will SAS search to find a user-defined format?

options fmtsearch=(orion.MyFmts);
a. orion.MyFmts only
b. work.formats→orion.MyFmts→library.formats
c. work.formats→library.formats→orion.MyFmts
d. orion.MyFmts→work.formats→library.formats

1 Answer

3 votes

Final answer:

The correct search order for a user-defined format with the given OPTIONS statement is orion.MyFmts, followed by work.formats, and then library.formats, which corresponds to option (d).

Step-by-step explanation:

The SAS OPTIONS statement specifies the order in which SAS searches for user-defined formats. When you specify fmtsearch=(orion.MyFmts), SAS will search for a user-defined format in the following order:

  1. orion.MyFmts
  2. work.formats
  3. library.formats

Hence, the correct answer is option (d): orion.MyFmts→work.formats→library.formats.

User Andrew Torr
by
8.5k points