hi chris,
thanks for your reply.
unfortunately, the reason why i was searching for an ready-made sas statement was, that i already tried to do the yob via vba. Indeed, SAS would also work, but i canceled the approach due to too many oddments.
(for example just reading a data step with more...