![]() |
![]() |
SAS/Warehouse Administrator Metadata Types |
Category: | Process Types |
Parent | |
Overview | |
Properties | |
Using WHSUBSET |
Parent |
Overview |
WHSUBSET models the metadata for processes that subset information into data mappings for use in SAS/Warehouse Administrator tables. WHSUBSET corresponds to a WHERE clause that is entered on the Where tab of the Mapping Process Properties window. Here is one way to add a subsetting process (WHERE clause) to a new data mapping in SAS/Warehouse Administrator:
In the Explorer, select a detail table or a data table with the right mouse button.
In the Process Editor, select the table with the right mouse button.
Enter the mapping information, until you come to the Where tab.
Properties |
The following table lists all of the properties for WHSUBSET 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_.
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_.
* 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.
WHSUBSET has the following new properties:
specifies an SCL list of general identifying information about the columns that are input to this subprocess.
specifies an SCL list of general identifying information about the columns that are input to this subprocess. This list must be of type WHCOLUMN or a subtype of WHCOLUMN, and it must have an appropriate relation to the main process. For WHSUBSET, this property returns the same list as INPUT OBJECTS.
specifies an SCL list of general identifying information about the mapping process to which this subsetting process belongs. This list must be of type WHPRCMAP or a subtype of WHPRCMAP.
indicates an SCL list of character items that specify a WHERE clause or other subsetting code. Each item can contain a maximum of 200 characters of source code.
Using WHSUBSET |
Add | Update | Delete |
No | Yes | Yes |
WHSUBSET is a dependent type. To understand how all subtypes of WHPROCES relate to other types, see the process models in Relationships Among Metadata Types.
For details about reading process information, see Reading Process Flow Metadata.
![]() |
![]() |
Copyright © 2012 by SAS Institute Inc., Cary, NC, USA. All rights reserved.