07-11-2022
sakurugoda
Fluorite | Level 6
Member since
06-25-2019
- 4 Posts
- 3 Likes Given
- 0 Solutions
- 2 Likes Received
-
Latest posts by sakurugoda
Subject Views Posted 669 07-10-2022 11:44 PM 1818 11-21-2019 11:07 PM 1833 11-21-2019 05:38 PM 1942 11-19-2019 05:23 PM -
Activity Feed for sakurugoda
- Posted Create SASLibrary Metadata with Extended Attributes Programmatically on SAS Programming. 07-10-2022 11:44 PM
- Got a Like for Betreff: SAS 9.4M6 on Windows - Creation of User Home Directories Manually. 05-21-2021 02:54 PM
- Got a Like for Betreff: SAS 9.4M6 on Windows - Creation of User Home Directories Manually. 05-21-2021 02:54 PM
- Liked Betreff: SAS 9.4M6 on Windows - Creation of User Home Directories Manually for SASKiwi. 11-24-2019 11:10 PM
- Liked Betreff: SAS 9.4M6 on Windows - Creation of User Home Directories Manually for DanielKaiser. 11-24-2019 11:10 PM
- Posted Betreff: SAS 9.4M6 on Windows - Creation of User Home Directories Manually on Administration and Deployment. 11-21-2019 11:07 PM
- Posted Betreff: SAS 9.4M6 on Windows - Creation of User Home Directories Manually on Administration and Deployment. 11-21-2019 05:38 PM
- Posted SAS 9.4M6 on Windows - Creation of User Home Directories Manually on Administration and Deployment. 11-19-2019 05:23 PM
- Liked Re: How do i list all libraries and libref in SASApp for dardodds. 06-30-2019 07:41 PM
-
Posts I Liked
Subject Likes Author Latest Post 1 1 4 -
My Liked Posts
Subject Likes Posted 1 11-21-2019 05:38 PM 1 11-21-2019 11:07 PM
07-10-2022
11:44 PM
Due to a requirement in creating multiple SAS libraries from time to time in the Management Console, I am trying to figure out how to do this programmatically. These libraries are pointing to external databases. So far, using the available examples I was able to use the following code to create library metadata. SAS Version 9.4M6. proc metadata in='<AddMetadata>
<Metadata>
<SASLibrary
Name="Test Library"
Desc="This is a test"
Folder="\Shared Data\Test"
Engine="DB2"
IsDBMSLibname="1"
IsHidden="0"
Libref="testlib"
IsPreassigned="0"
PublicType="Library">
</SASLibrary>
</Metadata>
<Reposid>A0000001.A849HGWS</Reposid>
<NS>SAS</NS>
<Flags>268435456</Flags>
<Options/>
</AddMetadata>
'; However this is still missing the resource template, schema name, location (folder name). Is there any way we can add these programmatically as well? Also anyway to update the access templates? Any attributes that I can assign these values to when calling proc metadata? Thanks in advance.
... View more
11-21-2019
11:07 PM
1 Like
Hi @SASKiwi , Thanks for the reply. I am actually not interested in the windows directories and only in these metadata folders. Sorry if there was a confusion in my initial question. Our users have saved their working projects in these metadata folders and during our migration we want to migrate their projects as is. But as you would know these metadata folders gets created for the first time in a new environment when the user logs in to the EG for the first time. And if we do create these metadata folders with the username ourselves, when the user actually logs in for the first time it will create a new folder called username(1). We are trying to avoid the creation of unwanted folder as well as make the user projects available in the new environment when the user logs in.
... View more
11-21-2019
05:38 PM
1 Like
Hi @DanielKaiser , Thanks for your reply. I am not sure how this can be a Microsoft issue as these users don't login to the server itself but to SAS EG. Hence the folder that gets created, and which I refer to are available under SAS Management Console->Folders->User Folders. I've attached an image for your reference. I do believe this is related to SAS and not Microsoft.
... View more
11-19-2019
05:23 PM
We are doing a migration from SAS base 9.4 to 9.4M6. This is on a Windows server. The migration of libraries and creation of users are fine. The issue we are facing is in migrating the user projects. The user home directories for each user under "User Folders" gets created for the first time automatically once a user logs in. We cannot wait for all the users to login or ask the users to login and then do an export an import of the projects as we want to make it seamless. What we tried doing was importing the projects with the user folder itself i.e. we created the our_user folder in the import process itself but when the user actually logged in for the first time it created another folder name our_user(1) and the user was assigned this folder and the projects in our_user folder was not viewable or usable to to the user. Is there any mechanism where we can create user home folders and map them to the actual user logins so that when the user logs in for the first time it doesn't go and create a new folder but starts using the folder that we've created? Apologies for any confusion. A newbie here and I've searched all over the forum as well as google but couldn't find anything on this.
... View more