The
putdeck function updates the value being stored in the
DeckArray hot deck by using the current value(s) of the
value set items that were defined as dimensions in the DeckArray declaration.
putdeck automatically recodes the value set items and accesses the proper cell in the hot deck, where it stores the value of the numeric_expression. If any of the DeckArray dimensions are not associated with a value set, then you must specify the desired numeric index when calling the function.
The function returns 1 if successful or DEFAULT in the event that the values supplied are not valid entries in the value sets and thus could not be recoded to a proper cell in the hot deck.