BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
John_Wick
Obsidian | Level 7

Hello there!

 

I noticed StoredProcessServer writes a log real-time. If I turn on tracing of db requests:

OPTIONS SASTRACE=',,,ds' sastraceloc=saslog nostsuffix sql_ip_trace=(note,source) msglevel=i fullstimer;

I see what StoredProcessServer do right now.

But BatchServer uses another way. It writes information only when data step have done fully.

How to configure BatchServer for logging information in real-time?

1 ACCEPTED SOLUTION

Accepted Solutions
SASKiwi
PROC Star

The LOGPARM system option may be the one you are looking for. See the WRITE=IMMEDIATE setting.

View solution in original post

2 REPLIES 2
SASKiwi
PROC Star

The LOGPARM system option may be the one you are looking for. See the WRITE=IMMEDIATE setting.

John_Wick
Obsidian | Level 7
Thanks you! Need to change in Scheduler manager a param in execute command of job
from -logparm "rollover=session"
to -logparm "rollover=session write=IMMEDIATE"

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 455 views
  • 2 likes
  • 2 in conversation