BookmarkSubscribeRSS Feed
WenjieZhou2021
Calcite | Level 5

Hi,

 

I encountered an error on the Linux server. I'm not sure what happened after the new configuration for CICD, where each developer now uses their own branch. Some files or directories have suddenly become unavailable to me, although I'm certain they exist somewhere on the server.

I checked /SASFoundation/9.4/sas, but it doesn't seem to be a directory either.

I'm trying to execute a SAS program on the Linux server using the command below:

/opt/sas/sashome/SASFoundation/9.4/sas /sasdata/projectName/SAS_Programs/smtp/SMTP_entityName_outbound.sas

However, I'm getting an error message: bash: No such file or directory.

 

Can any one help how to fix that?

Thank you!

2 REPLIES 2
Sajid01
Meteorite | Level 14

Hello
Check if that is in your path. Use the following  command

echo $PATH

The output should have 

/opt/sas/sashome/SASFoundation/9.4/sas

if not run this command 

export PATH=$PATH:/opt/sas/sashome/SASFoundation/9.4/sas

Then try executing the SAS command as you have been trying.

JuanS_OCS
Amethyst | Level 16

Hello @WenjieZhou2021 ,

 

I would check first the permissions on both files and path of folders: first the unix permissions, then, if you have ACLs, please do check those as well. It will tell you if you have permissions with  your user.

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