BookmarkSubscribeRSS Feed
soculhane
Calcite | Level 5

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;

2 REPLIES 2
Tom
Super User Tom
Super User

Check out the OPTIONS statement.

Astounding
PROC Star

Also check out the SPLIT= option on the PROC PRINT statement.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 864 views
  • 0 likes
  • 3 in conversation