In SAS, How do I add comments to my .LST output file. Like adding a comment saying "This is the output for tbl_TestMacro:" right before doing a proc print? So that my output file will read:
This is the output for tbl_TestMacro:
Obs field1 field2
1 6 8
2 6 9
3 7 0
4 7 1
Instead of just:
Obs field1 field2
1 6 8
2 6 9
3 7 0
4 7 1
Thanks, Dan
You may actually have more luck on stackoverflow for numerical computing language questions (such as SAS and R).
But I'll try my hand at it anyway. Both TITLE
and PUT
would work for your purposes:
title "This is the output for tbl_TestMacro:";
or
put This is the output for tbl_TestMacro:;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With