Architecting, installing and maintaining your SAS environment

SAS documents

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 81
Accepted Solution

SAS documents

[ Edited ]

 

Hi,

SAS has been installed and configured in the system that I'm working with(I'm new in this system). SAS has shared a document about the system and for example where the log files are. But when I follow the path, there is no log file there. How can I find information about the log files?

 

 

Thank you.


Accepted Solutions
Solution
‎05-09-2017 03:38 AM
Super User
Posts: 6,927

Re: SAS documents


Doriana wrote:

Log files for:

  • Metadata server,
  • scheduled jobs which has been scheduled by Crontab,
  • scheduled jobs in Management Consol,
  • Where can I check the result of running a program in Base SAS, EGuide and Eminer(I need to check if I'm getting any error message)?

Metadata Server:

Logs can be found in Lev1/SASMeta/MetadataServer/Logs.

 

Scheduled Jobs:

This depends very much on the way you start the jobs. Most of the time, you'll find the log either in the home directory of the user whose crontab you use, or in the spot where the program is found. To help you further, I would need the crontab entry and the shell script used.

 

Base SAS and EG do not write a log file per default, as the log is sent back to the log window. In Base SAS, use proc printto or the altlog= option to redirect the log to a file. For EG, you need to configure the workspace server for logging to files.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers

View solution in original post


All Replies
Super User
Posts: 6,927

Re: SAS documents

Which logs are you looking for? A typical BI server installation writes 20+ different types of logs in different locations.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Frequent Contributor
Posts: 81

Re: SAS documents

Log files for:

  • Metadata server,
  • scheduled jobs which has been scheduled by Crontab,
  • scheduled jobs in Management Consol,
  • Where can I check the result of running a program in Base SAS, EGuide and Eminer(I need to check if I'm getting any error message)?

 

 

 

Solution
‎05-09-2017 03:38 AM
Super User
Posts: 6,927

Re: SAS documents


Doriana wrote:

Log files for:

  • Metadata server,
  • scheduled jobs which has been scheduled by Crontab,
  • scheduled jobs in Management Consol,
  • Where can I check the result of running a program in Base SAS, EGuide and Eminer(I need to check if I'm getting any error message)?

Metadata Server:

Logs can be found in Lev1/SASMeta/MetadataServer/Logs.

 

Scheduled Jobs:

This depends very much on the way you start the jobs. Most of the time, you'll find the log either in the home directory of the user whose crontab you use, or in the spot where the program is found. To help you further, I would need the crontab entry and the shell script used.

 

Base SAS and EG do not write a log file per default, as the log is sent back to the log window. In Base SAS, use proc printto or the altlog= option to redirect the log to a file. For EG, you need to configure the workspace server for logging to files.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Frequent Contributor
Posts: 81

Re: SAS documents

Thanks KurtBremser for your reply.

Do you know if there is a SAS document about log files with more details?

SAS Super FREQ
Posts: 291

Re: SAS documents

Hi,

 

Take a look at the following article:

https://www.linkedin.com/pulse/super-food-sas-administration-brain-iv-self-study-anja-fischer

 

This article provides you with resources and information an admin should be familiar with.

Maybe you'll find this helpful.

 

Thanks

Anja

Frequent Contributor
Posts: 81

Re: SAS documents

Thanks Anja for the info :-)

☑ This topic is SOLVED.

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

Discussion stats
  • 6 replies
  • 229 views
  • 0 likes
  • 3 in conversation