Write and run SAS programs in your web browser

is there a way for the log to refresh when using "batch submit" in SAS Studio

Accepted Solution Solved
Reply
Contributor
Posts: 26
Accepted Solution

is there a way for the log to refresh when using "batch submit" in SAS Studio

Hi, an end-user asked if it was possible for the log to refresh (say you have a multi-step, many hours long SAS job) while the job was running. For example: a database load. Presently (I believe) the log is only present at the conclusion of the job.


Accepted Solutions
Solution
‎12-09-2016 02:51 PM
SAS Employee
Posts: 39

Re: is there a way for the log to refresh when using "batch submit" in SAS Studio

Hi,

 

In SAS Studio 3.5 (the first release where SAS Studio introduced background submit) the log was locked until the conclusion of the background submit job on non-Windows platform. In SAS Studio 3.6 (which has just been released) this issue has been fixed so the log is readable during the run on all supported platforms.

 

HTH

View solution in original post


All Replies
Esteemed Advisor
Posts: 6,643

Re: is there a way for the log to refresh when using "batch submit" in SAS Studio

Try -logparm "write=immediate" on the commandline or in the config of the server process.

 

With EG, I see log updates every time a step or run block finishes.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Respected Advisor
Posts: 3,060

Re: is there a way for the log to refresh when using "batch submit" in SAS Studio

If these are regular production batch jobs then you would be better off scheduling them via SAS Management Console. The SMC batch job logs are easy to monitor as you can specify a single directory where they are written and they get updated in near real time.  

Contributor
Posts: 26

Re: is there a way for the log to refresh when using "batch submit" in SAS Studio

Presumably this requires a separate license (such as LSF?) - unfortunately we do not have this.
Respected Advisor
Posts: 3,060

Re: is there a way for the log to refresh when using "batch submit" in SAS Studio

LSF is just one of the options. You could use OS scheduling with SMC at no extra cost.

Solution
‎12-09-2016 02:51 PM
SAS Employee
Posts: 39

Re: is there a way for the log to refresh when using "batch submit" in SAS Studio

Hi,

 

In SAS Studio 3.5 (the first release where SAS Studio introduced background submit) the log was locked until the conclusion of the background submit job on non-Windows platform. In SAS Studio 3.6 (which has just been released) this issue has been fixed so the log is readable during the run on all supported platforms.

 

HTH

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 5 replies
  • 219 views
  • 0 likes
  • 4 in conversation