BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Would anyone know how to export a report in Enterprise Guide as html, and have a date stamp in the filename? This would need to be an automated process.

Example: 2132009ReportA1.html

Thanks,

Ryan
5 REPLIES 5
RichardH_sas
SAS Employee
I think you're looking at writing some Macro code to generate the appropriate file name -- there's no way I know of to incorporate dynamic values into the dialogs in EG for exporting an HTML file.
deleted_user
Not applicable
Would you happen to know of any websites. (getting started in macros for EG) I have never created a maco in EG.

Thanks..
Cynthia_sas
Diamond | Level 26
Hi:
I always recommend this as a good starting point:
http://www2.sas.com/proceedings/sugi28/056-28.pdf

cynthia
ChrisHemedinger
Community Manager
In SAS Enterprise Guide 4.2, we'll have this feature built in: when you export a file as a repeated step your project, you'll have the option to include a datestamp so as to not overwrite a version that already exists.

Chris
SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
deleted_user
Not applicable
Chris, how long until 4.2 comes out? Also is there a beta test out for this?

Thanks,

Ryan

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 5 replies
  • 2316 views
  • 0 likes
  • 4 in conversation