BookmarkSubscribeRSS Feed
Not applicable
I am aware that to print variables in headers on reports, you should use the NOBYLINE option and the #byval option in a header. However, while that works well in Enterprise Guide, tech support says it won't work in Web Report Studio. Is there another way to get variables to show up in headers? We don't have the latest/greatest fixes to our SAS products, so that is the main reason I'm wondering if there is a way to accomplish what I want.

Thanks in advance!
I am completely confused by this. When I run the SP in this forum posting, then NOBYLINE and #BYVAL does work just fine -- in EG, in the Add-in and in Web Report Studio, too

I really think you should go back to Tech Support for more clarification. Is it really NOBYLINE that's the problem or is there something else (like a LINE statement) in your PROC REPORT code?????

Not applicable
Hi, Cynthia,

I'm confused too. Here is the info that SAS Tech Support sent me to:

NOBYLINE option in Stored Process prevents display of report in SAS Web Report Studio


If a Web Report Studio report is built with a Stored Process and the
code in the Stored Process contains a BY statement together with the
NOBYLINE option, the output does not display in the Web Report Studio
window. There are no error messages returned in the Web Report Studio
or the Stored Process logs.

To circumvent the problem, remove the OPTIONS NOBYLINE from Stored
Process code.

So....on one side, you are saying that NOBYLINE works just fine, yet Tech Support sent me to the above linked message.

What I ended up doing, and it worked just fine, was to re-enter the lines of code for the stored process, and of course used NOBYLINE, and the stored process worked. I'm going to now compare my original stored process code to the recently re-written stored process and see if I can find any glitches.

So you think you're completely confused?? That makes two of us! Thanks for's appreciated!



Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

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.

Get the $99 certification deal.jpg



Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 2 in conversation