CONNECT
permission to the ADMIN DSN. SAS Federation Server
automatically checks user privileges when administration SQL is submitted.
Users can submit administration SQL for which they have privileges,
such as selecting against Information Views. Some administration SQL
can be executed by the server administrator only. See the SAS
FedSQL Reference Guide for details.
To create a DSN, one of the following conditions must be met:
To alter or drop a DSN, one of the following conditions must be met:
A user must have CONNECT permission to establish connection to a DSN. This permission is effective from the user object, inherited through the hierarchy, or acquired through group permissions. For a standard DSN, the CONNECT permission must be on (in order of inheritance):
Here is the syntax for creating a standard DSN under a data service:
CREATE DSN dsn-name UNDER data-service create-dsn-options [ AS ADMINISTRATOR ]
CREATE DSN "dsn-name" UNDER "data-service" CONNECT 'DRIVER=Oracle;GROUP=group-name' {OPTIONS CSO PERSONAL} AS ADMINISTRATOR
Federated DSNs are objects of SAS Federation Server. Therefore, they are not created under a data service. When creating a federated DSN, ensure that the child DSNs are not pointing to the same catalog, as this might result in a catalog conflict error. Catalog names must be unique within a connection. Here is the syntax for creating a federated DSN:
CREATE DSN dsn-name create-dsn-options ADD "(" dsn-name ["," ...] ")"
CREATE DSN "DSN1" UNDER BASE
DESCRIPTION 'creating DSN1' NOPROMPT
'DRIVER=BASE;CATALOG="catalog1_BASE";SCHEMA=(name="schema1_BASE")' {OPTIONS
(SECURITY YES)}
CONNECT ‘group=HR_USERs’
), or in a connection string that specifies a DSN (group=HR_USERS;dsn=HR1
).
In this case, the GROUP option would be HR_USERS.