BookmarkSubscribeRSS Feed
CarterM
Calcite | Level 5

I work for a large company and have no control over the administration of the server side of the Enterprise Guide product. I run a local copy on my desktop. Within an EG project I can choose to imbed a program or have it saved to an external directory. However, when the program runs a log is produced and appears to only be found within EG. Is it possible to have it automatically saved with a .log extension within the same directory as the program? As of now I have to export each one which is a bit of a bother if I have several programs.

1 REPLY 1
kassimorra
Calcite | Level 5

Hi,

You can use this proc to save the LOG into a file.

PROCPRINTTO LOG='/folder1/subfolder2/log.txt'NEW;

RUN;

Tell me if it works.

Kassim

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
  • 1 reply
  • 2959 views
  • 1 like
  • 2 in conversation