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

I am writing multiple PDFs using the by group of "schnum" and using "schname" in the report title, but SAS is also including a line below the title in the header on each page that shows "schnum=<val>schname=<val>". How do I suppress the addition of that line in the header that displays the values of the by variables?

 

 


ODS pdf FILE="G:\Surveys\LCAP Needs Survey\2018-19\Comment PDFs\Staff\site1.pdf" newfile=bygroup;
ods escapechar='^';
proc report data=parentopen split='|' style(report)={font_size=9pt}
style(header)={font_size=9pt}
style(column)={just=center font_size=8pt};
title1 'LCAP Needs 2018-19 Staff Survey Comments^n#byval(schname)';
by schnum schname;
define schnum /"School ID" noprint;
define schname / "School Name" noprint;
define q1_open / "What other priorities should the district consider in delivering high quality instruction?" style(column)={cellwidth=5cm};
define q2_open / "What other priorities should the district consider in monitoring student progress?" style(column)={cellwidth=5cm};;
define q3_open / "What other priorities should the district consider to help keep students and staff safe and connected to school?" style(column)={cellwidth=5cm};;
define q4_open / "What other priorities should the district consider to keep families and communities engaged with school?" style(column)={cellwidth=5cm};;
run;
ods pdf close;

 

ugh.png

1 ACCEPTED SOLUTION

Accepted Solutions
VERILINON
Calcite | Level 5

options nobyline; was the answer... sorry lol

View solution in original post

1 REPLY 1
VERILINON
Calcite | Level 5

options nobyline; was the answer... sorry lol

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

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
  • 1 reply
  • 677 views
  • 0 likes
  • 1 in conversation