BookmarkSubscribeRSS Feed
Quartz | Level 8

I'm lost with the doc and I'm wondering if I don't mixed the things I'm reading .... Is WRS 3.1 able to show a ODS PDF result created in a STP ?

Otherwise, Do I have to buy the portal to offer this possibility to my users ?
Not exactly. WRS is a unique interface, built with Java. When you view a report inside WRS, one of the menu options is to print to PDF (I don't have my WRS started up right now, so I'm not sure of the exact menu choice). So, a report that is viewable in WRS can be printed to PDF.

Stored processes that are displayed in WRS are internally described by a markup language called "SASReport XML" -- this XML is rendered on the screen and would be further rendered to PDF if you did a print to PDF.

From the standpoint of WRS, everything you see on the screen is SASReport XML and the user can choose to print to PDF when/if they want to have a physical copy of the report.

If you are submitting a stored process from the client applications, the 2 clients that will allow you to create PDF files directly from a SP are Enterprise Guide and the Information Delivery Portal. In addition, the Stored Process Web Application (SPWA) will allow you to run stored processes from a URL (outside the Portal -- for example, if you had your own front end reporting system that used HTML) and with the SPWA, you can generate almost any kind of results.

For more information about how to generate PDF output inside WRS, you might consider contacting Tech Support.

Quartz | Level 8
Cynthia, thanks.

I don't see a print to PDF within the menu.

If I understand, you can print the report with a tool like PDFcreator but you can't see an ODS PDF output where I put ODS region statements etc ... for that, I create a STP and run it via the portal or SEG (or SPWA).

I think it's clear and logic now.
Under the REPORT menu button is a page setup button. When you choose Page Setup, there is a button that says "Preview and Print" ...if you select Preview and Print, a PDF is built and the PDF opens in a new browser window. I think you can do the same thing from the Manage Report task.

But, you are also correct, you cannot have an ODS PDF "job" in a stored process and have that stored process open and display correctly in WRS. WRS wants your SP to create SASReport XML, because it is the SASReport XML that is rendered in the WRS application. I am not sure whether SASReport XML supports ODS REGION statements -- I suspect not -- since that capability was designed for PDF/Printer which is a paged destination.

If I have not remembered the exact steps to print to PDF, you can check with Tech Support -- I think the capability is built into WRS.




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