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

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

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