BookmarkSubscribeRSS Feed
raj143
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..

3 REPLIES 3
RW9
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.

Cynthia_sas
SAS Super FREQ
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.

Cynthia

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 880 views
  • 0 likes
  • 4 in conversation