Hash and Hash Iterator Object Language Elements |
Returns the previous value in the underlying hash object.
Applies to: |
Hash iterator 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 written
to the log.
-
object
-
specifies the name of the hash iterator
object.
Use the PREV method iteratively to traverse
the hash object and return the data items in reverse key order.
The FIRST method returns the first data item in the
hash object. The LAST method returns the last data item in the hash object.
You can use the NEXT method to return the next data
item in the hash object.
Note: The PREV method sets the data variable to the
value of the data item so that it is available for use after the method call. ![[cautionend]](../../../../common/63294/HTML/default/images/cautend.gif)
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.