SAS/Warehouse Administrator Metadata API- P24: 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. | 112 WHEVENT Chapter 3 Using WHEFILE Add Update Delete Yes Yes No WHEFILE is an independent type. WHEVENT Metadata type for events Category Object Types Process Editor Parent WHPOBJCT on page 205 Overview WHEVENT models the metadata for an event. An event is a metadata record that specifies a condition for controlling a Job such as checking for certain return codes or verifying the existence of a file. To use events you must create them include them in a job flow and then write a metadata API program that reads the job flow and generates code for it. Properties The following table lists all of the properties for WHEVENT 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. Administrator L Yes Yes No Cvalue C Yes Yes No Desc C Yes Yes No SAS Warehouse Administrator Metadata Types A WHEVENT 113 Extended L Yes Yes Yes Attributes Icon C Yes Yes No Id C Req Req No Input Objects L No No No Input Sources 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 Output Objects L No No No Output Targets L Yes Yes No Owner L Yes Yes No Process Groups L Req Yes No Process Members L No