Previous Page | Next Page

SAS/Warehouse Administrator Metadata Types

WHSUBSET



Metadata type for subsetting processes associated with data mappings
Category: Process Types

Parent
Overview
Properties
Using WHSUBSET

Parent

WHPRCSPR


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:

  1. In the Explorer, select a detail table or a data table with the right mouse button.

  2. Select Process from the pop-up menu.

  3. In the Process Editor, select the table with the right mouse button.

  4. Select Add [arrow] Inputs

  5. Enter the mapping information, until you come to the Where tab.

  6. Enter a WHERE clause on 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.

Properties


Type Indirect Add Update Method Read Method Expand Parm.
Administrator L No No No
Cvalue C Yes Yes No
Desc C Yes Yes No
Extended Attributes L Yes Yes Yes
Host L No No No
Id C * Req * Req No
Input Objects L No No No
Input Sources L Yes Yes No
Is Active N No No No
Metadata Created C No No No
Metadata Updated C No No No
Name C No No No
Note L No No Yes
NValue N Yes Yes No
Output Objects L No No No
Output Targets L No No No
Owner L No No No
Process L * Auto supplied No No
Responsibility C No No No
Source Text L * Req Yes No
Step Source Code L No No Yes

WHSUBSET has the following new properties:

INPUT OBJECTS

specifies an SCL list of general identifying information about the columns that are input to this subprocess.

INPUT SOURCES

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.

OUTPUT OBJECTS

specifies a currently unused property.

OUTPUT TARGETS

specifies a currently unused property.

PROCESS

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.

SOURCE TEXT

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.

Previous Page | Next Page | Top of Page