When the DEFINEDONE
method is called and the dataset argument
tag is used with the constructor, the data set is loaded into the
hash object.
The hash object works
by storing and retrieving data based on lookup keys. The keys and
data are DATA step variables, which you use to initialize the hash
object by using dot notation method calls. You define a key by passing
the key variable name to the DEFINEKEY method. You define data by
passing the data variable name to the DEFINEDATA method. When you
have defined all key and data variables, you must call the DEFINEDONE
method to complete initialization of the hash object. Keys and data
consist of any number of character or numeric DATA step variables.
For detailed information
about how to use the DEFINEDONE method, see Defining Keys and Data in SAS Language Reference: Concepts.