The basic approach I would take would be along these lines:
data want;
set have (rename=(bu=buold));
do i=1 to countw(buold);
bu = scan(buold,i);
output;
end;
drop i buold;
run;
It would likely be a good idea to set a length for the BU variable to longest expected value but I don't know what that might be so leave it up to you.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Registration is open
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss. Register now and lock in 2025 pricing—just $495!