BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
againreddy
Obsidian | Level 7
Library  A  has the following tables.  
 
1. Tab1(empid,empname)
2. Tab2(saleid, salename)
3. Tab3(payid,payname)
 
I want Library B with following Views.  Library A and B are sourcing tables from the same location or database. Source for the Library can be a SAS datasets or other DBMS tables (via ODBC or SAS access to teradata).
 
 
1. view of Tab1(empid)
2.  view of Tab2(saleid)
 
How do I create the pre assigned  Library B?. Please advice.
1 ACCEPTED SOLUTION

Accepted Solutions
ClarkLawson
Obsidian | Level 7

You will need to follow these steps:

 

1. Create the physical location for library B.

2. Register the metadata for library B, pretty much like library A but with a different physical path.

3. You will have to create two dataset views either using SQL or DATASTEP code. Depending on what tool you use, SAS DM, SAS DI or SAS EG, there will be a slightly different approach but the code should be relatively the same.

4. Register metadata of the dataset views.

View solution in original post

1 REPLY 1
ClarkLawson
Obsidian | Level 7

You will need to follow these steps:

 

1. Create the physical location for library B.

2. Register the metadata for library B, pretty much like library A but with a different physical path.

3. You will have to create two dataset views either using SQL or DATASTEP code. Depending on what tool you use, SAS DM, SAS DI or SAS EG, there will be a slightly different approach but the code should be relatively the same.

4. Register metadata of the dataset views.

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
  • 1 reply
  • 874 views
  • 0 likes
  • 2 in conversation