Blog

  • Home
  • SAS BI
  • Assigning a SAS Data Library in SAS BI

Assigning a SAS Data Library in SAS BI

  • (4.0)
  • | 1223 Ratings

This demonstration shows you, how to use the Sas management console to define a data library.

Meta Data

Invoke SAS Management Console by selecting Start Ð All Programs Ð SAS Ð SAS Management Console 1.
2. Select the BIArchitecture metadata profile then select OK.

Meta Data Profile

3. Enter the username and password provided by the instructor.

User Information  

The values shown above will be different than those used in class.
The SAS Management Console opens:

SAS Management Console

Define a SAS DATA LIBRARY

4. Expand the Data Library Manager plug-in.
5. Right-click on SAS Libraries and select New Library from the pop-up. The New Library Wizard opens.
6. Select SAS Base Engine Library as the type of library to define.

New Library Wizard

Select Next
7. Specify Orion Star Gold Library as the Name of the new library.

New Library Wizard

Select Next
8. Specify the properties of this library:
      a.  Type orgold in the Libref field.

Type orgold in the Libref field

b. Select New to add a new path to the list of available items
c. In the New Path Specification window, select Browse.

New Path Specification

The Browse button allows you to browse the machine where the SAS Management Console is running. If the path is located on a different server, it must be typed in manually.
d. In the Browse window, navigate to Workshop

Browse Wizard

Select OK
e. Select OK in the New Path Specification
f. Verify that this path is now in the Selected items list.

Verify the path is now in the Selected items list

Select Next
9. If prompted, select SASMain as the SAS Application server

SASMain

Select Next
10. Review the settings:

Review the settings

Select Finish
11. The new library should now appear in the display area of SAS Management.

SAS Management Console   

  
view the LIBNAME statement that will be created from the metadata, right-click Orion Star Gold Library and select Display Libname….

Display Libname

Select OK

Register Metadata for ExistingTables
When you create metadata to define a library in the SAS Management Console, you define the library only and not tables.

To import metadata to define an existing data source, use the Source Designer.

SourceDesigner

The Source Designer is a wizard-driven interface that enables you to define the physical layout of existing tables using a data dictionary or metadata information from the source system.

The result of running the Source Designer successfully is a metadata registration that describes the data source.

Source Designer

Register Metadata for Existing Tables
This demonstration shows how to register the metadata for the tables in the Source Tables Library.
1. To invoke the Source Designer, right-click Orion Star Gold  Library and select Import Tables….
2. Select SASMain as the server to connect to, because it is the server where the data resides.

SASMain   

3. Enter the user name and password provided by the instructor.

Log in to SASMain

Select OK
4. Because the wizard was invoked from the library, you want to import tables for, accept the defaults by selecting Next

SAS Library

5. Select Select All Tablesto select all the available tables.

Define Tables

Select Next
6. Review the settings

Wizard Finish

Select Finish
7. The tables are now listed in the display area of SAS Management Console

SAS Management Console

Set the Authorization Level for the New Library

The metadata about libraries and tables are available to all users by default; however, access to the data within a table is not. Permissions must be added for the desired users or group of users to be able to view the data within a specific table or all tables in a specific library.
8. To set permissions for all tables in the new library, right-click Orion Star Gold Library and select Properties.
9. When the Properties window opens, select Authorization.

Select Authorization

10. On the Authorization tab, grant the Read permission to the PUBLIC group by selecting the appropriate checkbox.

Select appropriate checkbox

11. Select OK to save the changes.
12. Select File Ð Exit to close SAS Management


Subscribe For Free Demo

Free Demo for Corporate & Online Trainings.

Vinod M
About The Author

Vinod M is a Big data expert writer at Mindmajix and contributes in-depth articles on various Big Data Technologies. He also has experience in writing for Docker, Hadoop, Microservices, Commvault, and few BI tools. You can be in touch with him via LinkedIn and Twitter.


DMCA.com Protection Status

Close
Close