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).

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

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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