BookmarkSubscribeRSS Feed
devi001
Obsidian | Level 7

Hi All,

 

Please guide me how to enable Batch server logs in SAS (9.4 Windows) PDC image so that log file will be generate at  ../SASApp/BatchServer/Logs location.

 

Thanks in advance!

2 REPLIES 2
gwootton
SAS Super FREQ
This is passed when a job is scheduled in SAS Management Console using the -LOG option. If you are not scheduling but running sasbatch.sh manually you might need to just add the -log option pointing to the path and your job name. The batch server's logconfig.xml should append a datestamp and ".log" to that. So for example when you deploy a job in SAS Management console the command it builds looks like this:
<path-to-BatchServer>/sasbatch.sh -log <path-to-BatchServer>/Logs/<JobName>_ -batch -noterminal -logparm "rollover=session" -sysin <path-to-SAS-program>
--
Greg Wootton | Principal Systems Technical Support Engineer
SASKiwi
PROC Star

What scheduler are you using to start the batch jobs? In the case of LSF at least logs are set up automatically and you can configure the log location in SMC.

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
  • 771 views
  • 0 likes
  • 3 in conversation