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

SAS/Warehouse Administrator 2.3 Metadata API- P23 ppt

5 152 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 438,73 KB

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

Nội dung

WHDYNSAS Metadata type for dynamically generated SAS physical stores Category: Physical Storage Types Parent “WHSASSTR” on page 231 Overview WHDYNSAS models the metadata for dynamically

Trang 1

SAS/Warehouse Administrator Metadata Types WHDYNSAS 107

Using WHDYNLIB

WHDYNLIB is an independent type, like its parent, WHLIBRY To understand how all subtypes of WHLIBRY relate to other types, see the physical storage models in

“Relationships Among Metadata Types” on page 53

WHDYNSAS

Metadata type for dynamically generated SAS physical stores Category: Physical Storage Types

Parent

“WHSASSTR” on page 231

Overview

WHDYNSAS models the metadata for dynamically generated SAS physical stores in SAS/Warehouse Administrator The WHDYNSAS type is a placeholder for tables that

do not currently support the definition of both physical information and ACCESS information—tables that do not have a Physical Storage tab in their property windows

Properties

WHDYNSAS has the same properties as its parent, “WHSASSTR” on page 231

However, unlike WHSASSTR properties, WHDYNSAS properties cannot be written through the metadata API They can only be read

Using WHDYNSAS

WHDYNSAS is a dependent type, like its parent, WHSASSTR To understand how subtypes of WHSASSTR relate to other types, see the physical storage model for WHSASSTR in “Relationships Among Metadata Types” on page 53

Trang 2

Metadata type for dynamically generated source code entries in SAS catalogs Category: Text File Types

Parent

“WHSRCCAT” on page 236

Overview

WHDYNSRC models the metadata for dynamically generated source code catalog entries in SAS/Warehouse Administrator These entries are generated when you select the

or

Step option for a table in the Process Editor

Properties

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

Expand Parm.

Extended Attributes

Trang 3

SAS/Warehouse Administrator Metadata Types WHEFILE 109

Using WHDYNSRC

WHDYNSRC is a dependent type, like all of the subtypes of WHTFILE To understand how all subtypes of WHTFILE relate to other types, see the process model

in “Relationships Among Metadata Types” on page 53

WHEFILE

Metadata type for external file inputs to ODDs Category: Object Types—Process Editor

Parent

“WHROOT” on page 226

Overview

WHEFILE models the metadata for external file objects in the Process Editor An

external file is a file of type other than SAS that is an input to an operational data

definition (ODD) Here is one way to add an external file in SAS/Warehouse Administrator:

1 In the Explorer, select an ODD with the right mouse button

2 Select Process from the pop-up menu.

3 In the Process Editor, select the ODD with the right mouse button

4 Select Add External File from the pop-up menu

5 Select the external file with the right mouse button

Trang 4

6 Select Properties.

7 Enter the external file information

Properties

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

Expand Parm.

Extended Attributes

Trang 5

SAS/Warehouse Administrator Metadata Types WHEFILE 111

New properties for WHEFILE are as follows:

ACCESS METHOD

indicates the SAS filename access method specification

CREATING JOB

specifies a list of general identifying information about the job that creates this file This list must be a WHJOB or a subtype of WHJOB A valid CREATING JOB property is required before you can add any INPUT SOURCES If the CREATING JOB is removed, then any work tables in the chain of INPUT SOURCES will be deleted as well

FILEREF

represents the fileref that is used to access this file using a SAS filename

statement The maximum length is 8 characters

HOST

specifies an SCL List of general identifying information about the host on which this file is accessed

ICON

indicates the catalog entry name of the associated icon For more information about icons, see “Using Icon Information” on page 69

INPUT OBJECTS

specifies an SCL list of general identifying information about the objects that are input to this external file For more details about input objects, see “INPUT and OUTPUT Properties” on page 64

INPUT SOURCES

specifies an SCL list of general, identifying information about the sources that are input to this file For more details about input sources, see “INPUT and OUTPUT Properties” on page 64

OPTIONS

represents an SCL list of filename statement options The list contains multiple entries to support options that might be too long to fit in one list item

OUTPUT OBJECTS

specifies an SCL list of general identifying information about the objects that are output from this external file For more details about output objects, see “INPUT and OUTPUT Properties” on page 64

OUTPUT TARGETS

specifies an SCL list of general identifying information about the targets that are output from this external file For more details about output targets, see “INPUT and OUTPUT Properties” on page 64

PATH

indicates an SCL list of host-specific path designations

PROCESS

specifies an SCL list of general identifying information about the process that created this file

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