BookmarkSubscribeRSS Feed
AllanBowe
Barite | Level 11

I have a SAS 9 user with a Macbook Pro.  He's a Stored Process app developer, and I'd like for him to be able to create his content in his home directory in metatdata.


According to the docs - "The first time a user logs on to an application that requires a home folder, the user's home folder is automatically created."  

 

Is there a list of apps anywhere that will do the 'home directory' stuff?

Neither logging onto /SASStudio nor /SASStoredProcess/do does the trick.  What is the best course of action?  Get him to download xquartz and x11 into SMC?  Create the folder programmatically, and update the permissions?  

/Allan
SAS Challenges - SASensei
MacroCore library for app developers
SAS networking events (BeLux, Germany, UK&I)

Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs
5 REPLIES 5
CarmineVerrell
SAS Employee

Give the user access to SAS Environment Manager and he will be able to access Metadata folders and add any folders he wants himself.  You will need to assign him to an appropriate role with MC.

 

 

AllanBowe
Barite | Level 11
Thanks Carmine - we don't currently have that installed - will give it a crack if we don't find an easier way.
/Allan
SAS Challenges - SASensei
MacroCore library for app developers
SAS networking events (BeLux, Germany, UK&I)

Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs
PaulHomes
Rhodochrosite | Level 12

If you want to create it programmatically then have a look at the SAS IOMI AddUserFolders method: https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/omaref/n0xyl0tv8cxjjcn1iehd44cavbfz.htm

 

I have not had a need to use it myself yet but remembered seeing it in the documentation. It is supposedly locale aware and creates and secures the My Folder and Application Data correctly. This is what I would try first.

 

Off the top of my head I remember that SAS EG and SAS DI Studio created the user folders when needed but I do not know if there is a list as such.

AllanBowe
Barite | Level 11
Thanks Paul! Indeed that appears to be the "proper" way to achieve the programmatic approach.
/Allan
SAS Challenges - SASensei
MacroCore library for app developers
SAS networking events (BeLux, Germany, UK&I)

Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs
AllanBowe
Barite | Level 11

For reference, this is what we did in the end:

1. Install xquartz:  https://www.xquartz.org/releases/index.html

 

2.  Open xquartz terminal and run:

ssh -Y user@server

3. execute the following file:

./opt/sas/sas9/SASHome/SASManagementConsole/9.4/sasmc

Then follow the prompts to log in, and the folder is created.

I have to say, x11 on mac is much faster than it used to be!

/Allan
SAS Challenges - SASensei
MacroCore library for app developers
SAS networking events (BeLux, Germany, UK&I)

Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs

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
  • 5 replies
  • 1529 views
  • 2 likes
  • 3 in conversation