tailieunhanh - SAS/Warehouse Administrator 2.3 Metadata API- P4

SAS/Warehouse Administrator Metadata API- P4: The operating system and SAS version that are associated with a given host are now available through the WHHOST property. For example, you can write a SAS/Warehouse Administrator add-in that reads the host metadata that is associated with a given data store and then uses these values to generate code that is appropriate for the operating system and SAS version. | 12 Learning to Use the Metadata API A Chapter 1 This method returns a list of all metadata objects of a given type. The reposid for each object identifies the repository where the object is stored. Learning to Use the Metadata API The following are some steps you can take to learn the metadata API 1 Become familiar with the elements of the metadata API primary repository secondary repository types subtypes type names type IDs and so on. 2 Study the Read Metadata Code Sample on page 273 and the Write Metadata Code Sample on page 277. 3 Learn how to initialize the metadata API by executing simple API method calls that do not read any actual metadata. For example list all the object types that are available in the API. List the properties for a given object in the API. 4 Try some simple queries against the metadata of a well-known metadata object. Because this is just a test program you can code the literal identifier of the object in your client application. For example list all the detail tables that are defined in a warehouse. 5 Try a more realistic task by using the code samples in Appendix 1 Sample Metadata API Code on page 273 as a starting point. a Decide what information you need. b Translate this information into metadata types and attributes. c Determine how the different metadata types you need are related so that you will know how to access the metadata that you want. For example if you want to list all of the owners that are defined for a given data warehouse and list all of the detail tables for which each owner is responsible you must first get a list of all detail tables. Then you can list the owner of each detail table. For details about SAS Warehouse Administrator metadata relationships see Relationships Among Metadata Types on page 53. d Write the client application. e Run the application and compare the returned metadata with the actual metadata that you can view through the application. Naming Conventions Used in This Manual This document uses the

TỪ KHÓA LIÊN QUAN
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.