Questions tagged [sas-ods]

SAS ODS is the Output Delivery System for the SAS language, the method by which various formats of output (PDF, HTML, RTF, etc.) are usually produced in SAS.

In , the Output Delivery System is the method by which you control the output from procedures. It can allow you to produce PDFs, RTFs, HTML files, Excel files, LaTeX documents, and many other output destinations. It also is used as a method of directing output from procedures to datasets.

Resources

86 questions
0
votes
1 answer

SAS Proc Report page break for columns

I'm hoping someone would be able to help me with this problem. I am trying to make a report using proc report with ods pdf. The problem is when I use the page option with the intention of displaying the columns to the right on a new page, they…
John Doe
  • 596
  • 5
  • 8
0
votes
1 answer

ODS Tagsets RTF

I am trying to make underscores (_) appear in my output while using ODS Tagsets but for some unknown reasons it's not appearing as expected. I'm using SAS 9.4. It appears with Bodytitle and Bodytitle_aux but the pagebreaking is much better with…
John Doe
  • 596
  • 5
  • 8
0
votes
0 answers

ODS PACKAGE publish email does not send emails

SAS EG / SAS 9.4 I am currently using ODS package to zip a few files and then send them over to recipients using filename email. I recently came through the ODS user guide (see EMAIL PROPERTIES) that says we can publish the archive to email…
samkart
  • 6,007
  • 2
  • 14
  • 29
0
votes
2 answers

SAS Ods Output for Anova

I created an Anova and want to save the mean, standard deviation, F-statistics and the p-Value in a new data set. This is my current code: ODS OUTPUT means=anova; PROC ANOVA DATA= multiple_sclerosis; CLASS ms_form; MODEL eq5d = ms_form; MEANS…
Nico
  • 5
  • 5
0
votes
1 answer

SAS Management Console - The file is empty and can not be sent

I've scheduled some sas code using SAS Management Console. However the job ends with an error: The file is empty and can not be sent. The code which exports proc freqs to a file is as follows: %let output_Date = %sysfunc(today(),yymmddn8.); ods…
Sunny
  • 35
  • 1
  • 1
  • 8
0
votes
1 answer

Data Validation Lists in SAS ODS tagsets.excelxp / proc report / proc template

Am hoping that someone might point me in the right direction. I am creating a spreadsheet using some elements of proc template and outputting it with a proc report within an ods tagsets.excelxp. This spreadsheet will be sent out in order to collect…
rbrt
  • 29
  • 1
  • 6
0
votes
1 answer

How can I adjust the size of an imported PNG file in SAS RTF output?

The response to the question Is it possible to import a PNG file into SAS to include in RTF output? gave a way to use an external PNG file in SAS ODS RTF output. In order for the provided solution to work, it requires text to follow the insertion…
Sam Dickson
  • 5,082
  • 1
  • 27
  • 45
0
votes
0 answers

Export Graph in BMP format in SAS

Currently I'm trying to export a SAS graph to a .bmp image format. I achieved a .bmp file but it is unreadeable. ods HTML body="C:\Users\example.bmp"; proc gchart DATA=WORK.TABLE; VBAR CENTRE/ SUMVAR=CONTRACTS SUBGROUP="TRAM"; …
0
votes
0 answers

SAS ODS. Set rute for export

Currently I'm trying to export a Graph with ODS in a SAS guide enviroment. The problem is that we try to export the file on a rute, SAS introduces on the rute the pre-name /sas/config1/Lev1/SASApp/. Anyone knows if it is possible to change this?.…
0
votes
1 answer

Limiting number of observations in SAS ODS output

I'm trying to limit the number of observations included in ODS output table. My attempt is pretty basic: OPTIONS NODATE number pageno=1 rightmargin=0.25in leftmargin=0.25in topmargin=0.4in bottommargin=0.4in; options sysprintfont=("SAS Monospace"…
S Cross
  • 17
  • 5
0
votes
1 answer

Which one is default ODS destination in SAS - Listing or HTML?

Which one is default ODS destination in SAS - Listing or HTML? In SAS BASE Prep book, it says Listing but in Step by Step SAS programming it says HTML.
nitin
  • 77
  • 1
  • 2
  • 12
0
votes
3 answers

SAS- Defining Page Breaks inside Macro

I am wondering if there is a way of defining when and where page breaks occur when using a macro to output data. I know within the various ODS tagests the "Startpage=NOW" can be used but that does not seem to work if a macro is used inside that…
Brad
  • 85
  • 12
0
votes
0 answers

ODS tagsets.msoddice2k_x ".xls". Exporting number as string

My problem Is related with exporting a table from sas using ODS. Well, when exporting my table the data its a number declared as a string (Example 0001, 0003). When exporting this table, in my exell appears 1 instead of 0001, the number needs to…
0
votes
1 answer

SAS print text from file to spreadsheet

Is there a way to print the contents of a .txt file to a tab using ods tagsets.excelxp? I have a script that creates a .xml file with several tabs, and on one of the tabs I'd like to print the lines of the code itself, so that I can send the .xml…
0
votes
3 answers

SAS- Supress Results view on some, but not all, proc print ods outputs

I want to be able to print all of my reports to external files but only display a select few in the results viewer. In the below example I want reportA and reportB to be displayed AND printed (file.xls) but reportC to be printed to a separate file…
jji87
  • 23
  • 4