Properties The following table lists all of the properties for WHLDETL and indicates how you can use each property with metadata API methods.. * Req indicates that the property is requir
Trang 1SAS/Warehouse Administrator Metadata Types WHLDETL 147
4 Select the detail logical table with the right mouse button
5 Select Properties.
6 Enter the detail logical table information
Properties
The following table lists all of the properties for WHLDETL 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 2148 WHLDETL Chapter 3
Property Dependencies You must define a CREATING JOB property in order to add 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 WHLDETL
WHLDETL is an independent type, like all subtypes of WHTABLE To understand how all subtypes of WHTABLE relate to other types, see the models in “Relationships Among Metadata Types” on page 53
The table that is created as part of the _ADD_METADATA_ method is added as a member to only the first group listed in the GROUP property list Once you add a table, the GROUP property cannot be changed using the metadata API
Adding and Linking Detail Tables SAS/Warehouse Administrator supports the linking
of detail tables (tables of type WHDETAIL) between multiple subjects in a warehouse Currently, however, the metadata API does not support the concept of linking detail tables to multiple subjects
Deleting and Unlinking Detail Tables You can use the _DELETE_METADATA_ method
to unlink a table from a list of subjects or delete the table entirely The determination
of the type of delete to perform is based on the presence and value of the GROUP
property in the l_meta list that is passed to the _DELETE_METADATA_ method.
If the GROUP property is not passed in the l_meta list or an empty list is passed as
the value of the GROUP property, then the table will be deleted entirely If the GROUP
property is passed as a nonempty list in the l_meta list, the table will be unlinked from
all groups that are referenced in the GROUP property list If an invalid GROUP identifier is passed in this list, an error is returned to the application and the table is not unlinked from any of the referenced groups
Trang 3SAS/Warehouse Administrator Metadata Types WHLDOMDD 149
WHLDOMDD
Metadata type for OLAP MDDB load processes Category: Process Types—Load
Parent
“WHPRCLDR” on page 207
Overview
WHLDOMDD models the metadata for OLAP MDDB load processes in the SAS/Warehouse Administrator Process Editor
Properties
The following table lists all of the properties for WHLDOMDD 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
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.
supplied
Extended Attributes
Trang 4150 WHLDOPRX Chapter 3
Property Dependencies)
Yes (See Property Dependencies)
No
supplied
supplied
supplied
supplied
supplied
Property Dependencies When you add or update the LOAD OPTIONS property, if the
value of the LOAD TIME COLUMN item is YES, then a valid load time column must
exist for the table that is associated with this load process to avoid errors when processing the SOURCE CODE and STEP SOURCE CODE properties You can add a load time column to a table as described in the documentation for the WHCOLTIM type
Using WHLDOMDD
WHLDOMDD is a dependent type To understand how all subtypes of WHPROCES relate to other types, see the process models in “Relationships Among Metadata Types”
on page 53
For details about reading process information, see “Reading Process Flow Metadata”
on page 62
WHLDOPRX
Metadata type for OLAP Proxy load processes
Trang 5SAS/Warehouse Administrator Metadata Types WHLDOPRX 151
Category: Process Types—Load
Parent
“WHLDOMDD” on page 149
Overview
WHLDOPRX models the metadata for OLAP Proxy load processes in
the SAS/Warehouse Administrator Process Editor
Properties
The following table lists all of the properties for WHLDOPRX 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
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.
supplied
Extended
Attributes
Property Dependencies)
Yes (See Property Dependencies)
No
supplied
supplied