BookmarkSubscribeRSS Feed
Calcite | Level 5

when i am giving ODS report using PROC REPORT ,It produces a table format output in pdf .

but i don't want table format,i want the report as it produced in output window.....please give me the suggestions..

Diamond | Level 26 RW9
Diamond | Level 26

Your post says very little.  I assume by output window you mean the plain text output window?  PDF destination (as with all more advanced destinations) use styles to control how the output looks in the final destination.  You alter or supply a different style to get the output to look like.  For instance try:

ods pdf file="a.pdf" style=normal;
proc report...

ods pdf file="b.pdf" style=statistical;
proc report...

And you will notice the two diffrerent pdf files look quite different.Providing more information always helps get a clearer picture.

And, in addition to the other excellent suggestions, it is helpful, in this instance to understand how you are using SAS -- SAS University Edition with SAS Studio, SAS OnDemand for Academics, SAS Enterprise Guide, SAS Display Manager on Windows. All of those interfaces have defaults for how to generate output. For example, none of these interfaces, will make PDF output automatically, except for SAS Studio -- which also makes HTML output. Enterprise Guide, by default, for example, makes SAS Report output. SAS on Windows (Display Manager) makes HTML output.

To answer your question it will help to also know what version of SAS you are using because different versions of SAS have different output defaults.



Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.


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.

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
  • 3 replies
  • 4 in conversation