In my assignment, I am told to print some data with specifications such as:
1. no page numbers
2. two titles and a footnote
3. row numbers suppressed from output
4. label breaks for "2012 NCAA Athletic Conference"
ex. Column looks like this:
2012 NCAA
Athletic
Conference
5. Apply user-defined formats
So far, I believe I have the correct program for requirements 2, 3, and 5.
I am requesting help on how to print without page numbers and how to make a label break in the correct spot. Below is my code:
proc print data = stat304.cleanset (obs=10) NOOBS label;
var Rank Conf Name Team Class Position;
format Class $formclass. Position $formposition. Calc_PPG formcalc.;
title1 "2012 NCAA Division 1 Men's Basketball";
title2 "Top 10 Scores";
footnote "Point Values as of March 1, 2012";
label Conf = "2012 NCAA Athletic Conference";
run;
Check out the OPTIONS statement.
Also check out the SPLIT= option on the PROC PRINT statement.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.