BookmarkSubscribeRSS Feed
Grumbler
Obsidian | Level 7

hello, just wondering if there is a way to use sas code to create folders in the metadata repository, instead of manually creating folders and sub-folders.  and i don't mean in personal folder or shared folder.  thank you.

2 REPLIES 2
acfarrer
Quartz | Level 8

Under $SASHOME, alongside SASFoundation, you should find SASPlatformObjectFramework/9.x/MakeFolder

The documentation is very basic but something like this can get you started:

cd $SASHOME/SASPlatformObjectFramework/9.x/MakeFolder

./MakeFolder -profile "/home/sasadm/MetadataServerProfiles/sasadm_myserver_Lev1.swa" -appropriate_options -log "/home/sasadm/MetaUtilitiesLogs"

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 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1283 views
  • 2 likes
  • 3 in conversation