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

SAS/Warehouse Administrator 2.3 Metadata API- P49 pdf

5 104 0

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

THÔNG TIN TÀI LIỆU

Cấu trúc

  • Table of Contents

    • Contents

  • Introduction to the Metadata API

    • Changes and Enhancements

    • Prerequisites

    • What is Metadata?

    • What is the SAS/Warehouse Administrator Metadata API?

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

    • How the Metadata API Works

    • Identifying Metadata

    • Reading Metadata: A Simple Example

    • Metadata Repositories

      • 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

  • Metadata API Class

    • Overview of the Metadata API Class

    • Using the Metadata API Class

    • Introduction to Metadata API Methods

      • Conventions

      • Error Codes

      • Metadata Property List

    • Index to Metadata API Methods

  • SAS/Warehouse Administrator Metadata Types

    • Overview of SAS/Warehouse Administrator Metadata Types

      • What Is a Metadata Type?

      • Metadata Repository Types

    • Metadata Type Inheritance

    • Using Metadata Types

      • Relationships Among Metadata Types

      • Writing Metadata

      • Overview of the Process Editor

      • Reading Process Flow Metadata

      • Input Tables, Output Tables, and Job Metadata

      • Reading Job Metadata

      • Reading Job Flow Metadata

      • Reading Job Hierarchy Metadata

      • Using Icon Information

    • Index to SAS/Warehouse Administrator Metadata Types

    • Using the Metadata Type Dictionary

      • General Identifying Information

  • Sample Metadata API Code

    • Appendix Overview

    • Read Metadata Code Sample

    • Write Metadata Code Sample

  • Metadata Type Inheritance Tree

    • SAS/Warehouse Administrator Metadata Type Inheritance Tree

  • Recommended Reading

    • Recommended Reading

  • Glossary

  • Index

Nội dung

SAS/Warehouse Administrator Metadata Types WHSRVAT 237 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 Indirect Add Update Method Read Method Expand Parm. Cvalue C Yes Yes No Desc C Yes Yes No Entry C Yes Yes No Extended Attributes L Yes Yes Yes Full Entry C No No No Id C * Req * Req No Library L Yes Yes 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 Objects L No No No Using WHSRCCAT Add Update Delete No Yes Yes WHSRCCAT 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. WHSRVAT Metadata type for the Windows NT AT scheduling server Category: Global Metadata Types Parent “WHSERV” on page 235 238 WHSRVAT Chapter 3 Overview The WHSRVAT type models the metadata for a Windows NT AT Interface scheduling server. Properties The following table lists all of the properties for WHSRVAT 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. Command C No No No Cvalue C No No No Desc C No No No Extended Attributes LNoNo Yes Generated Source Code CNoNo No Host L No No No Icon C No No No Id C No No No Jobs L No No No Local Work Directory LNoNo No Log Filename C 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 Options C No No No Print Filename C No No No Remote Work Directory LNoNo No SAS/Warehouse Administrator Metadata Types WHSRVAT 239 Sysin Filename C No No No Tracking N No No No New properties for WHSRVAT are as follows: COMMAND indicates a 200-character string that the scheduling server uses to start SAS. GENERATED SOURCE CODE indicates a 200-character string that identifies the location where the generated source code resides. HOST indicates the host where the scheduling server is running. This property is a WHHOST object. JOBS specifies an SCL list of all of the jobs that are active on this scheduling server. LOCAL WORK DIRECTORY identifies the location of a directory on the local platform that is used for working storage by a local scheduling server. LOG FILENAME indicates a 200-character string that identifies the location where the job log resides. This follows the —LOG option in the command string. OPTIONS indicates a 200-character string that contains additional SAS options that are appended to the command string. PRINT FILENAME indicates a 200-character string that identifies the location where the job listing resides. This follows the —PRINT option in the command string. REMOTE WORK DIRECTORY identifies the location of a directory on a remote platform that is used for working storage by a remote scheduling server. SYSIN FILENAME indicates a 200-character string that identifies the location where the job sysin resides. This follows the —SYSIN option in the command string. TRACKING indicates a numeric indicator stating whether the scheduling server has a job track enabled. Valid values are 0—disabled 1—a job track enabled. Using WHSRVAT Add Update Delete No No No 240 WHSRVCRN Chapter 3 WHSRVAT is an independent type. To understand how scheduling servers relate to other types, see the diagram in Appendix 2. WHSRVCRN Metadata type for UNIX Cron scheduling server Category: Global Metadata Types Parent “WHSERV” on page 235 Overview The WHSRVCRN type models the metadata for a UNIX System V CRON scheduling server. Properties The following table lists all of the properties for WHSRVCRN 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 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. Command C No No No Cvalue C No No No Desc C No No No Extended Attributes LNoNo Yes Generated Source Code CNoNo No Host L No No No Icon C No No No Id C No No No SAS/Warehouse Administrator Metadata Types WHSRVCRN 241 Jobs L No No No Local Work Directory LNoNo No Log Filename C 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 Options C No No No Print Filename C No No No Remote Work Directory LNoNo No Sysin Filename C No No No Tracking N No No No New properties for WHSRVCRN are as follows: COMMAND indicates a 200-character string that the scheduling server uses to start SAS. GENERATED SOURCE CODE indicates a 200-character string that identifies the location where the generated source code resides. HOST indicates the host where the scheduling server is running. This property is a WHHOST object. JOBS specifies an SCL list of all of the jobs that are active on this scheduling server. LOCAL WORK DIRECTORY identifies the location of a directory on the local platform that is used for working storage by a local scheduling server. LOG FILENAME indicates a 200-character string that identifies the location where the job log resides. This follows the —LOG option in the command string. OPTIONS indicates a 200-character string that contains additional SAS options that are appended to the command string. PRINT FILENAME indicates a 200-character string that identifies the location where the job listing resides. This follows the —PRINT option in the command string. REMOTE WORK DIRECTORY identifies the location of a directory on a remote platform that is used for working storage by a remote scheduling server. . “Relationships Among Metadata Types” on page 53. WHSRVAT Metadata type for the Windows NT AT scheduling server Category: Global Metadata Types Parent “WHSERV” on page 23 5 23 8 WHSRVAT Chapter 3 Overview The. SAS/Warehouse Administrator Metadata Types WHSRVAT 23 7 Properties with a Ye s in the Read Method Expand Parm column are valid with the expand parameter of the _GET _METADATA_ method No No Id C No No No SAS/Warehouse Administrator Metadata Types WHSRVCRN 24 1 Jobs L No No No Local Work Directory LNoNo No Log Filename C No No No Metadata Created C No No No Metadata Updated C

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