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;

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

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