Well, I have not seen a screenshot as a question before. I assume you are asking for:
data want;
set have;
length lsttourn_no $200.;
retain lsttourn;
if tournament_no ne 0 then lsttourn=tournament_no;
run;
2025 SAS Hackathon: There is still time!
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!