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.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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