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

SAS/Warehouse Administrator 2.3 Metadata API- P23 ppt

5 152 0

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

THÔNG TIN TÀI LIỆU

SAS/Warehouse Administrator Metadata Types WHDYNSAS 107 Using WHDYNLIB Add Update Delete No No No 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 Add Update Delete No No No 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. 108 WHDYNSRC Chapter 3 WHDYNSRC 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 View Code All 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 Ye s in the Add column to the _ADD_METADATA_ method. Use this method to add a new object. You can pass properties with a Ye s 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 Ye s 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 Add Method Update Method Read Method Expand Parm. Cvalue C No No No Desc C No No No Entry C No No No Extended Attributes LNoNo Yes Full Entry C No No No Id C No No No SAS/Warehouse Administrator Metadata Types WHEFILE 109 Library L 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 No No No Objects L No No No Using WHDYNSRC Add Update Delete No No No 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. 110 WHEFILE Chapter 3 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 Ye s in the Add column to the _ADD_METADATA_ method. Use this method to add a new object. You can pass properties with a Ye s 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 Ye s 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 Add Method Update Method Read Method Expand Parm. Access Method C Yes Yes No Creating Job L Yes Yes Yes Cvalue C Yes Yes No Desc C Yes Yes No Extended Attributes L Yes Yes Yes Fileref C Yes Yes No Host L Yes Yes Yes Icon C Yes Yes No Id C * Req No No Input Objects L No No No Input Sources L No No No Metadata Created C No No No Metadata Updated C No No No Name C * Default Yes No Note L Yes Yes Yes NValue N Yes Yes No Options L Yes Yes No Output Objects L No No No Output Targets L Yes Yes No SAS/Warehouse Administrator Metadata Types WHEFILE 111 Path L Yes Yes No Process L Yes Yes Yes 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. . Among Metadata Types” on page 53. WHDYNSAS Metadata type for dynamically generated SAS physical stores Category: Physical Storage Types Parent “WHSASSTR” on page 23 1 Overview WHDYNSAS models the metadata. Among Metadata Types” on page 53. 108 WHDYNSRC Chapter 3 WHDYNSRC Metadata type for dynamically generated source code entries in SAS catalogs Category: Text File Types Parent “WHSRCCAT” on page 23 6 Overview WHDYNSRC. “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 22 6 Overview WHEFILE models the metadata

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

Xem thêm: SAS/Warehouse Administrator 2.3 Metadata API- P23 ppt

Mục lục

    Introduction to the Metadata API

    What is the SAS/Warehouse Administrator Metadata API?

    What Can I Do with the SAS/Warehouse Administrator Metadata API?

    How the Metadata API Works

    Reading Metadata: A Simple Example

    Setting the Active Metadata Repository

    Learning to Use the Metadata API

    Naming Conventions Used in This Manual

    Where Metadata API Classes and SLISTS are Stored

    Overview of the Metadata API Class

TÀI LIỆU CÙNG NGƯỜI DÙNG

  • Đang cập nhật ...

TÀI LIỆU LIÊN QUAN