To understand how it relates to other types, see the physical storage models in “Relationships Among Metadata Types” on page 53.. 4 WHDBMSST Metadata type for DBMS physical stores Catego
Trang 1SAS/Warehouse Administrator Metadata Types WHDBMSST 97
generators If the API application is not secure, this property returns a blank value if no user ID has been registered, and it returns XXXXXXXX if the user ID has been registered
Using WHDBMS
WHDBMS is an independent type To understand how it relates to other types, see the physical storage models in “Relationships Among Metadata Types” on page 53
Note: The USERID and PASSWORD attributes are only valid with the _GET_METADATA_ method when the API application is a secure application
Currently, the only secure applications are those that are registered as add-in generators 4
WHDBMSST
Metadata type for DBMS physical stores
Category: Physical Storage Types
Parent
“WHPHYSTR” on page 204
Overview
WHDBMSST models the metadata for database management system physical stores in SAS/Warehouse Administrator To specify DBMS format for a table in a warehouse, from the SAS/Warehouse Administrator Explorer:
1 Select a table with the right mouse button
2 Select Properties from the pop-up menu.
3 Go to the Physical Storage tab
4 Select DBMS as the storage format.
Properties
The following table lists all of the properties for WHDBMSST and indicates how you can use each property with metadata API methods
In the table, you can specify properties with a Yes in the Indirect Add column when
you indirectly add one object through another, as described in the documentation for the _UPDATE_METADATA_ method Use this approach to add a new dependent object For details, see “Using _UPDATE_METADATA_” on page 46
Trang 298 WHDBMSST Chapter 3
You can pass properties with a Yes in the Update column to the
_UPDATE_METADATA_ method, as described in the documentation for this method Use this method to update properties of an existing object For details, see “Using _UPDATE_METADATA_” on page 46
* Req indicates that the property is required; you must provide a value for this
property when you use a given method * Default indicates that the system will provide
a default value for that property if you do not provide one * Auto supplied means that
the property is automatically supplied; any value that you specify for such a property is ignored
Properties with a Yes in the Read Method Expand Parm column are valid with the
expand parameter of the _GET_METADATA_ method This method enables you to get
detailed metadata about a property and its associated objects through a single method call
Expand Parm.
Property Dependencies)
Extended Attributes
Property Dependencies)
supplied
supplied
supplied
Property Dependencies You must define either a database or a library for a physical store instance If you provide neither, you get an error message If you provide a library but no database, and a DBMS connection is defined for that library, the value for the DATABASE property will be obtained from the DBMS connection definition If you
Trang 3SAS/Warehouse Administrator Metadata Types WHDETAIL 99
supply both a library and a database, the two properties must match (the library must
be appropriate for the database) Otherwise, you get an error message
New properties for WHDBMSST are as follows:
DATABASE specifies an SCL list of general identifying information about the database connection that is used for this table
HOST specifies an SCL list of general identifying information about the host on which this data is accessed
LIBRARY specifies an SCL list of general identifying information about the library that is used to load this database table If the table is not loaded by using a SAS DBMS Libname engine, then no information is returned for this property
TABLE OPTIONS specifies an SCL list of options that are used in creating or loading this table The LOAD sublist is appropriate for DBMS tables that are created with code generation level 1.1 It contains any DBLOAD statements that are used to create
or load the table
The CREATE and APPEND sublists are appropriate for DBMS tables that are created with code generation level 2.0 The CREATE sublist contains any SQL options that are used to create the table The APPEND sublist contains any data set options that are used to load the table One particularly useful option for the APPEND sublist is the data set option BULKLOAD=, which supports bulk loading
of DBMS tables
Using WHDBMSST
WHDBMSST is a dependent type To understand how it relates to other types, see the physical storage models in “Relationships Among Metadata Types” on page 53
WHDETAIL
Metadata type for detail tables
Category: Object Types—Explorer
Parent
“WHTABLE” on page 254
Overview
WHDETAIL models the metadata for detail tables in SAS/Warehouse Administrator A
detail table is a detail data store It can be a SAS table or view or a DBMS table or
view To add a detail table with the SAS/Warehouse Administrator Explorer:
Trang 4100 WHDETAIL Chapter 3
1 Select a detail logical table with the right mouse button
2 Select Add New Table.
3 Select the detail table with the right mouse button
4 Select Properties.
5 Enter the detail table information
Properties
The following table lists all of the properties for WHDETAIL and indicates how you can use each property with metadata API methods
In the table, you can pass properties with a Yes in the Add column to the
_ADD_METADATA_ method Use this method to add a new object
You can pass properties with a Yes in the Update column to the
_UPDATE_METADATA_ method Use this method to update properties of an existing object
* Req indicates that the property is required; you must provide a value for this
property when you use a given method * Default indicates that the system will provide
a default value for that property if you do not provide one
Properties with a Yes in the Read Method Expand Parm column are valid with the
expand parameter of the _GET_METADATA_ method This method enables you to get
detailed metadata about a property and its associated objects through a single method call
Note: A CREATING JOB property is required if the INPUT SOURCES property is also specified
4
Expand Parm Access Same As
Physical
Property Dependencies)
Yes (see Property Dependencies)
No
Extended Attributes
Property Dependencies)
Yes (see Property Dependencies)
No
Trang 5SAS/Warehouse Administrator Metadata Types WHDW 101
Property Dependencies You must define a CREATING JOB property in order to add any INPUT SOURCES to a table If a table does not have a CREATING JOB property, then you must specify one when you add an input source to the table
Using
WHDETAIL is an independent type, like all subtypes of WHTABLE To understand how WHTABLE and WHDETAIL relate to other types, see the table and column models
in “Relationships Among Metadata Types” on page 53
WHDW
Metadata type for data warehouses
Category: Object Types—Explorer
Parent
“WHOBJECT” on page 182
Overview
WHDW models the metadata for data warehouses in SAS/Warehouse Administrator A
warehouse is a grouping element for subjects and data groups It is the object that is