BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I have a EG 4.1 project that I run for a date range. The reports that come out are in HTML format. I have added an export step to export to a network directory. I have used an Ordered List to step through each query/filter and export step in proper order.

Here is the annoying/frustrating problem: When I run a date range where there is no data and thus no HTML reports, my export steps all disappear!!! I have to recreate all export steps and reassign the network directory. Why does EG do this? I have two different projects and both have exibited this behavior. Is there any way of preventing this from happening?

Thanks,
B
3 REPLIES 3
Doc_Duke
Rhodochrosite | Level 12
Best I can tell, that's a "feature". It's been noted on this forum before. I hope it's changed in 4.2.
deleted_user
Not applicable
I figured it was one of those types of "features"!

Is it possible to create a code block with PROC EXPORT to export my .HMTL files? I was thinking I could just create a code block that wouldn't be tied to anything and won't disappear if a report is missing. And thus I would have to go back through and recreate all the export steps.

If this is possible, can you give me an example?

Thanks.
DerekAdams
Calcite | Level 5
gidday.

we create a user written code block with this to export data using ods


options orientation=portrait missing=" ";
ods noresults;
ods html
style=minimal
file="\\..\data.xls";

TITLE;
FOOTNOTE;

PROC print
DATA=WORK.alldata noobs label;
RUN;

TITLE; FOOTNOTE;

ods html close;

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 1241 views
  • 0 likes
  • 3 in conversation