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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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