Skip to main content

Posts

Showing posts from June, 2015

How to find SAS Home and SAS Conig directory?

Are you new to the environment? Wondering where is SAS Home and SAS Config directory in your new SAS platform? Here I will show you how to get the exact location of SAS Home and Config directory using SAS Environment Manager. SAS Environment Manager to get SAS Home and SAS Config Path SAS Environment Manager is a web based application. You need the web address to use this application. The web address can be derived if you have host name of your web tier. The web address will be: http://hostname-of-your-web-tier:7080/SASEnvironmentManager Say you hostname is sasserver , then your web address will be http:// sasserver :7080/SASEnvironmentManager Other information like port number and the trailing text will be same in all environment. Using SAS Environment Manager: Only unrestricted user and following users can use SAS Environment Manager: * SAS Environment Manager Super Users * SAS Environment Manager Guests * SAS Environment Manager A...

Insufficient authorization to access PIPE error in SAS EG

Issue: When I tried to run SAS code in SAS Enterprise Guide it throws following errors: ERROR: Insufficient authorization to access PIPE. ERROR: Error in the FILENAME statement. Screenshot of error: Solution: This error occurs when you try to run OS commands in SAS code. To run the OS commands in SAS code you need to enable XCMD option. You check it in SAS Management Console by following below steps.   Open SMC -> Expand Servers -> Expand   In SASApp , expand Logical Workspace Server -> right click on Workspace Server. Click properties -> option tab -> advanced options -> launch properties. Check whether Allow XCMD is checked. The issue arises if the Allow XCMD is not checked. In above image, Allow XCMD option is not checked. It should be checked to run OS commands from SAS code. In Unix /Linux machines, this XCMD option can be enabled by using system option XCMD in sasv9 config file or workspaceserver.sh script f...