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.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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
  • 944 views
  • 0 likes
  • 3 in conversation