Hash and Hash Iterator Object Language Elements |
Deletes the hash or hash iterator object.
Applies to: |
Hash object
|
|
Hash
interator object
|
-
rc
-
specifies whether the method succeeded or
failed.
A return code of zero indicates success; a non-zero
value indicates failure. If you do not supply a return code variable for the
method call and the method fails, then an appropriate error message is printed
to the log.
-
object
-
specifies the name of the hash or hash iterator
object.
DATA step component objects are deleted automatically
at the end of the DATA step. If you want to reuse the object reference variable
in another hash or hash iterator object constructor, you should delete the
hash or hash iterator object by using the DELETE method.
If you attempt to use a hash or hash iterator object after you delete
it, you will receive an error in the log.
If you want to delete all the items from within a hash object and save
the hash object to use again, use the
CLEAR Method.
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.