BookmarkSubscribeRSS Feed
AVO339
Obsidian | Level 7

Hi everybody.

 

With EG 8.3 (and SAS 9.4M7) running on Windows 10 I have no results tab with this simple SAS program:

 

data _null_;
  declare odsout t();
  t.format_text(data: 'Hello World');
run;

 

I set EG options to get HTML and PDF outputs.

Outputs are produced but the results tab does not appear:

By using my own ODS PDF statement (code below), I can open the PDF document and see with the "Hello World".

 

ods pdf file="c:\temp\hw.pdf" notoc;
data _null_;
  declare odsout t();
  t.format_text(data: 'Hello World');
  run;
ods pdf close;

 

Another hint: With the Display Manager I have a SAS Output results viewer tab.

 

This is strange because I have a big (real world) SAS program (305 lines) that use many ODS-RWI methods and PDF outputs are correctly produced in EG.

 

Do you have an idea about this "strange" EG behaviour?

 

Thanks.

 

Alain "AVO339" 

 

 

 

 

3 REPLIES 3
AVO339
Obsidian | Level 7
Same behaviour observed with Enterprise Guide 7.15
Tom
Super User Tom
Super User

What RESULTS are you expecting to be produced? 

The only code you showed is a DATA _NULL_ step, which by definition does not produce any output data.

AVO339
Obsidian | Level 7

You are right Tom. But with the Display Manager I have an output in the Results Viewer:

 

Capture d’écran 2022-08-09 155230.jpg

That's why I was hoping for an output with EG too.

I also believed I was able to have a Results tab using the Report Writing Interface in a DATA _NULL_;

But the most important thing is with ods pdf file="C:\temp\hw.pdf" notoc;, the PDF file was created:

    NOTE: ODS PDF printed 1 page to C:\temp\hw.pdf.

Thanks to Pete Lund for the "Hello World" program: https://support.sas.com/resources/papers/proceedings16/2240-2016.pdf

 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1001 views
  • 0 likes
  • 2 in conversation