SAS/Warehouse Administrator Metadata API- P27: 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. | SAS Warehouse Administrator Metadata Types A WHHOST 127 Overview WHHOST models the metadata for host definitions in SAS Warehouse Administrator. A host definition is a metadata record that specifies a computer where data stores reside where processes and jobs execute or where process output is sent. Host definitions are included in the metadata records for data stores processes and scheduling server definitions in an environment. In SAS Warehouse Administrator to add a host definition to the current environment in the Explorer 1 Select File Setup from the pull-down menu. 2 Select Hosts. 3 Click I Add I. 4 Enter the host information. Properties The following table lists all of the properties for WHHOST 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. Properties Type Add Method Update Method Read Method Expand Parm. Comamid C Yes Yes No Cvalue C Yes Yes No Desc C Yes Yes No Extended L Yes Yes Yes Attributes Icon C Yes Yes No Id C No Req No Locale C Req 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 128 WHHOST A Chapter 3 Operating System C Yes Yes No Processes L No No No Remote Address C Yes Yes No SAS Version C Yes Yes No Script