BookmarkSubscribeRSS Feed
deleted_user
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!
2 REPLIES 2
Cynthia_sas
SAS Super FREQ
Hi:
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
http://support.sas.com/forums/thread.jspa?threadID=1894&tstart=0

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?????

cynthia
deleted_user
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 replying...it's appreciated!

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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

View all other training opportunities.

Discussion stats
  • 2 replies
  • 876 views
  • 0 likes
  • 2 in conversation