Defining Hash Objects
Hash Object Methods
Hash object methods
are operations that are performed on a hash object using dot notation.
With dot notation, specify the name of the hash object to the left
of the dot and specify the method to the right of the dot. All methods
include a set of parentheses. Within the parentheses, arguments can
be specified.
Method
|
Description
|
Syntax
|
---|---|---|
ADD
|
Adds the specified data
that is associated with the given key to the hash object.
|
object-name.ADD( )
|
DEFINEDATA
|
Defines data to be stored
in the hash object.
|
object-name.DEFINEDATA( )
|
DEFINEDONE
|
Specifies that all key
and data definitions are complete.
|
object-name.DEFINEDONE( )
|
DEFINEKEY ... |
Get SAS Certified Professional Prep Guide 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.