1. Trang chủ
  2. » Công Nghệ Thông Tin

SAS/Warehouse Administrator 2.3 Metadata API- P44 pdf

5 157 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 5
Dung lượng 437,87 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Properties The following table lists all of the properties for WHPRCMAP and indicates how you can use each property with metadata API methods.. In the table, you can specify properties w

Trang 1

212 WHPRCMAP Chapter 3

Overview

WHPRCMAP models the metadata for data mapping processes in the SAS/Warehouse

Administrator Process Editor A data mapping is a metadata record used to generate or

retrieve a routine that maps columns from one or more data sources into one or more data tables, detail tables, OLAP tables, or OLAP MDDBs Common mappings include one-to-one (one data source to a target table), joins (one or more data sources merged by one or more common columns), and unions (two or more data sources appended to a target table) Here is one way to add a data mapping process 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

5 Enter the mapping information

Properties

The following table lists all of the properties for WHPRCMAP 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.

Extended Attributes

Trang 2

SAS/Warehouse Administrator Metadata Types WHPRCPST 213

supplied

WHPRCMAP has the following new property:

TRANSFORMATIONS specifies an SCL list of general identifying information about the transformations that are defined for this mapping

Using WHPRCMAP

WHPRCMAP is a dependent type WHPRCMAP has the same usage information as

“WHPROCES” on page 223 See the process model diagram in “Relationships Among Metadata Types” on page 53

WHPRCPST

Metadata type for post-load processes

Category: Process Types

Parent

“WHPRCSPR” on page 217

Overview

WHPRCPST models the metadata for post-load processes in SAS/Warehouse

Administrator A post-load process is code that is specified in the Process Editor to

Trang 3

214 WHPRCPST Chapter 3

execute after a table is loaded Here is one way to add a post-load process in SAS/Warehouse Administrator:

1 In the Explorer, select a 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 Edit Load Step.

5 Go to the Post Processing tab

6 Enter the process information

Properties

The following table lists all of the properties for WHPRCPST 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.

Extended Attributes

Trang 4

SAS/Warehouse Administrator Metadata Types WHPRCREC 215

supplied

New Types for WHPRCPST are as follows:

PROCESS specifies an SCL list of general identifying information about the load process to which this post-load process belongs This list must be a subtype of WHPRCLDR SOURCE FILE

specifies an SCL list of general identifying information about any user-registered code for a process This list must be of type WHSRCCAT or a subtype of

WHSRCCAT WHJOBCAT or any subtype of WHJOBCAT will be rejected, however For process steps that consist of user-written code, this property returns the registered source code location For process steps that consist of code that is generated by SAS/Warehouse Administrator, this property will return an empty list

Using WHPRCPST

WHPRCPST is a dependent type WHPRCPST has the same usage information as

“WHPROCES” on page 223

WHPRCREC

Metadata type for record selector processes

Category: Process Types

Parent

“WHPRCMAN” on page 209

Overview

WHPRCREC models the metadata for record selector processes in SAS/Warehouse

Administrator A record selector process is a metadata record that is used to generate or

retrieve a routine that subsets data prior to loading it to a specified table For example, you can use a record selector process to subset the operational data specified in an ODD

Trang 5

216 WHPRCREC Chapter 3

Here is one way to add a record selector process in SAS/Warehouse Administrator:

1 In the Explorer, select a table with the right mouse button

2 Select Process from the pop-up menu.

3 In the Process Editor, select an ODD for that table with the right mouse button

4 Select Insert Record Selector

5 Enter the record selector information

Properties

The following table lists all of the properties for WHPRCREC 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.

Extended Attributes

supplied

Ngày đăng: 05/07/2014, 07:20