Programming the statistical procedures from SAS

Adding text

Accepted Solution Solved
Reply
Contributor
Posts: 69
Accepted Solution

Adding text

Hi

 

I need your help as I want to add text to my sas code, text that I can see in the output. As far as I understand, I should use /*text*/, I did it but it does not shown in the output

 

What is my mistake?

 

Thanks a lot!


Accepted Solutions
Solution
‎04-18-2017 07:58 AM
Super Contributor
Posts: 475

Re: Adding text

/* */ is for commenting code.

 

What kind of text do you want to add and where?

 

If you want to add a title to your output use the title statement as

 

title 'Upper Title';
title2 'Lower Title';
proc print data = sashelp.cars(obs = 10);
run;
title;

View solution in original post


All Replies
Solution
‎04-18-2017 07:58 AM
Super Contributor
Posts: 475

Re: Adding text

/* */ is for commenting code.

 

What kind of text do you want to add and where?

 

If you want to add a title to your output use the title statement as

 

title 'Upper Title';
title2 'Lower Title';
proc print data = sashelp.cars(obs = 10);
run;
title;
☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 50 views
  • 1 like
  • 2 in conversation