BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
sascrazedpupil
Obsidian | Level 7

Hello, I put all my code for my homework problems in one program, and I was wondering how to remove a title of the previous problem, so in my output it just shows that title of the particular problem. Here's an example:

 

SASCrazedPupil- Final HW Assignment

Problem 1 Hospital Discharge Survey

*Output for Problem 1 here*

 

SASCrazedPupil- Final HW Assignment

Problem 1 Hospital Discharge Survey

Problem 2 Power and Sample Size

*Output for Problem 2 here*

 

Thanks in Advance!

1 ACCEPTED SOLUTION

Accepted Solutions
2 REPLIES 2
PaigeMiller
Diamond | Level 26

You add a TITLE statement (or several TITLE statements) before the appropriate PROCs.

 

Examples here: https://documentation.sas.com/doc/en/pgmmvacdc/9.4/lestmtsglobal/p10gcmrmf83iaxn1ilrx4pra969n.htm

--
Paige Miller
sascrazedpupil
Obsidian | Level 7
Thank you! I found that instead of using title1, title2, and title3, I just needed to use title1 and title2 (writing a different title2 for each problem).

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

Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

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
  • 1436 views
  • 0 likes
  • 2 in conversation