SAS Enterprise Guide

Desktop productivity for business analysts and programmers
BookmarkSubscribeRSS Feed
ODENWALD
Obsidian | Level 7

Hi :

 

I do supervise a student who does an internship in a company and uses the company's SAS System via EG.

SAS runs on some server. Main tool is OR- Proc Optmodel.

I'm in Home Office and can access  SAS, SAS Studio or EG  - my EG is running locally. I use  EG  very sparsely.

Difference :  In EG  I see the SAS Log as usual enfolding as the program (solver) runs.

The student says I can see no SAS Log.

What had the student to do to see the SAS log when in  EG  the  Optmodel's Solver iterates ??

It's essential to monitor the progress.

 

Kind regards,

Odenwald

1 REPLY 1
PhilC
Rhodochrosite | Level 12

Hard to know what's going on the student's side.  I know PROC PRINTTO could 'divert' the log file to another file on the system.  When that happens the log does not appear in EG.

 

Have the student view the value of the macro variable &SYSPRINTTOLOG .  On my system, this is variable contains the location of the logfile after my PROC PRINTTO call.

 

proc printto log="C:\Users\fluffycat\Desktop\New Text Document.txt";
run;

proc print data=sashelp.vmacro;
  where name="SYSPRINTTOLOG";
run;
                  Obs      scope          name         offset                         value

                       1    AUTOMATIC    SYSPRINTTOLOG       0      "C:\Users\fluffycat\Desktop\New Text Document.txt"

 

Perhaps this procedure is the culprit and you can then disable it, and maybe track it down being called in an AUTOEXEC.sas file. (?)  Its a theory.  Something for you to try.  goodluck.

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

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
  • 710 views
  • 0 likes
  • 2 in conversation