There are a tankerload of methods to create output in SAS. E.g.
proc sql;
select count(*) into :nobs from have;
quit;
which should only create a macro variable by design, will also write the value to the output destination, because the programmer forgot to use the noprint option in the proc sql statement.
So we can't tell you what causes your problem without seeing all the code.
BTW
"I'm not actually trying to learn it but running code"
I wouldn't want be on the street when you're driving, if that is your way to go about life 😉
If you need to use a tool, learn how to use it. No way around that, if you want to keep all your fingers.
... View more