The SAS Output Delivery System and reporting techniques

How to remove byline label in the contents

Reply
Contributor
Posts: 43

How to remove byline label in the contents

Hi,
I am developing some reports and find no way to remove byline labels
in contents file.
The system option nobyline can work only for body file.

Although I can post-process the contents file to remove them, it is
ugly.
I am wondering whether there is a easy way to solve the byline labels
issue?

Any comment will be appreciated.

-Kevin
SAS Super FREQ
Posts: 8,743

Re: How to remove byline label in the contents

:Hi:
It depends on what your procedures are. One solution is to put your procedure into a Macro program and invoke the macro program one time for each by group. This gives you the chance to "flatten" the links in the Table of Contents.

The use of ODS PROCLABEL and/or CONTENTS= for REPORT, PRINT or TABULATE do give you a lot of control -- however, none of them will give you control over the BYLINE.

Another option is to use the ODS DOCUMENT facility, with PROC DOCUMENT to rearrange, rename and then replay your output objects. Some examples of ODS DOCUMENT are listed in these previous forum postings:
http://support.sas.com/forums/thread.jspa?messageID=9982⛾
http://support.sas.com/forums/thread.jspa?messageID=10108❼

cynthia
Contributor
Posts: 43

Re: How to remove byline label in the contents

Cynthia,
You are right that ODS DOCUMENT can do the job.
Thank you very much.

-Kevin
Ask a Question
Discussion stats
  • 2 replies
  • 127 views
  • 0 likes
  • 2 in conversation