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
262 WHTBLREC Chapter 3 Properties Type Indirect Add Update Method Read Method Expand Parm. Access Same As Physical N * Auto supplied * Auto supplied No Administrator L No No No Columns L No No Yes Creating Job L No No No Creates Data N No No No Cvalue C Yes Yes No Desc C Yes Yes No Extended Attributes L Yes Yes Yes Group L No No No Host L Yes Yes No Icon C Yes Yes No Id C * Req * Req No Input Objects L No No No Input Sources L Yes Yes No Library L Yes Yes No Members L No No No Metadata Created C No No No Metadata Updated C No No No Name C * Default Yes No Note L No No Yes NValue N Yes Yes No Output Objects L No No No Output Targets L * Auto supplied No No Owner L No No No Physical Storage L Yes Yes Yes Process L * Default No Yes Table Name C Yes Yes No Using Jobs L No No No Using WHTBLREC Add Update Delete No Yes Yes SAS/Warehouse Administrator Metadata Types WHTBLUSR 263 For a discussion of how you can use intermediate output tables, see “Reading Process Flow Metadata” on page 62. WHTBLREC is a dependent type. To understand how all subtypes of WHTABLE relate to other types, see the models in “Relationships Among Metadata Types” on page 53. WHTBLUSR Metadata type for intermediate output tables produced by user exit processes Category: Object Types—Intermediate Output Tables Parent “WHTBLPRC” on page 259 Overview WHTBLUSR models the metadata for an intermediate output table that is produced by a user exit process in SAS/Warehouse Administrator. In the Process Editor, these tables are represented as text boxes that are labeled User Exit. For details about how intermediate output tables are displayed in the Process Editor, see “Reading Process Flow Metadata” on page 62. Properties The following table lists all of the properties for WHTBLUSR and indicates how you can use each property with metadata API methods. In the table, you can specify properties with a Ye s 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 Ye s 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 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. Access Same As Physical N * Auto supplied * Auto supplied No Administrator L No No No 264 WHTBLUSR Chapter 3 Columns L No No Yes Creating Job L No No No Creates Data N Yes Yes No Cvalue C Yes Yes No Desc C Yes Yes No Extended Attributes L Yes Yes Yes Group L No No No Host L Yes Yes No Icon C Yes Yes No Id C * Req * Req No Input Objects L No No No Input Sources L Yes Yes No Library L Yes Yes No Members L No No No Metadata Created C No No No Metadata Updated C No No No Name C * Default Yes No Note L Yes No Yes NValue N Yes Yes No Output Objects L No No No Output Targets L * Auto supplied No No Owner L No No No Physical Storage L Yes Yes Yes Process L * Default No Yes Table Name C Yes Yes No Using Jobs L No No No Using WHTBLUSR Add Update Delete No Yes Yes For a discussion of how you can use intermediate output tables, see “Reading Process Flow Metadata” on page 62. WHTBLUSR is a dependent type. To understand how all subtypes of WHTABLE relate to other types, see the models in “Relationships Among Metadata Types” on page 53. SAS/Warehouse Administrator Metadata Types WHTBLXFR 265 WHTBLXFR Metadata type for intermediate output tables produced by data transfer processes Category: Object Types—Intermediate Output Tables Parent “WHTBLPRC” on page 259 Overview WHTBLXFR models the metadata for intermediate output tables that are produced by data transfer processes in SAS/Warehouse Administrator. In the Process Editor, these tables are represented as text boxes that are labeled Data Transfer. For details about how intermediate output tables are displayed in the Process Editor, see “Reading Process Flow Metadata” on page 62. Properties The following table lists all of the properties for WHTBLXFR and indicates how you can use each property with metadata API methods. In the table, you can specify properties with a Ye s 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 Ye s 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 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. Access Same As Physical N * Auto supplied * Auto supplied No Administrator L No No No Columns L No No Yes Creating Job L No No No Creates Data N No No No Cvalue C Yes Yes No Desc C Yes Yes No 266 WHTBLXFR Chapter 3 Extended Attributes L Yes Yes Yes Group L No No No Host L Yes Yes No Icon C Yes Yes No Id C * Req * Req No Input Objects L No No No Input Sources L Yes Yes No Library L Yes Yes No Members L No No No Metadata Created C No No No Metadata Updated C No No No Name C * Default Yes No Note L No No Yes NValue N Yes Yes No Output Objects L No No No Output Targets L * Auto supplied No No Owner L No No No Physical Storage L Yes Yes Yes Process L * Default No Yes Table Name C Yes Yes No Using Jobs L No No No Using WHTBLXFR Add Update Delete No Yes Yes For a discussion of how you can use intermediate output tables, see “Reading Process Flow Metadata” on page 62. WHTBLXFR is a dependent type. To understand how all subtypes of WHTABLE relate to other types, see the models in “Relationships Among Metadata Types” on page 53. . Delete No Yes Yes SAS/Warehouse Administrator Metadata Types WHTBLUSR 26 3 For a discussion of how you can use intermediate output tables, see “Reading Process Flow Metadata on page 62. WHTBLREC is. Process Flow Metadata on page 62. WHTBLUSR is a dependent type. To understand how all subtypes of WHTABLE relate to other types, see the models in “Relationships Among Metadata Types” on page 53. SAS/Warehouse. Metadata Types” on page 53. WHTBLUSR Metadata type for intermediate output tables produced by user exit processes Category: Object Types—Intermediate Output Tables Parent “WHTBLPRC” on page 25 9 Overview WHTBLUSR