![]() |
![]() |
SAS/Warehouse Administrator Metadata Types |
Category: | Object Types--Explorer |
Parent | |
Overview | |
Properties | |
Property Dependencies | |
Using WHINFOFL |
Parent |
Overview |
WHINFOFL models the metadata for an information mart file. An InfoMart file is a metadata record that specifies the location of a file and the technique for opening that file. It is used to specify a file other than a SAS file that you want to register in a SAS/Warehouse Administrator environment. The file can be a spreadsheet, an HTML report, or any file that you can using an external application.
To add an InfoMart file with the SAS/Warehouse Administrator Explorer:
Properties |
The following table lists all of the properties for WHINFOFL 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.
Note: A CREATING JOB property
is required if the INPUT SOURCES property is also specified.
New properties for WHINFOFL are as follows:
specifies a list of general identifying information about the job that creates this InfoMart file. This list must be of type WHJOB or a subtype of WHJOB. A valid CREATING JOB property is required before you can add any INPUT SOURCES. If the CREATING JOB property is removed, then any work tables in the chain of INPUT SOURCES will be deleted as well.
indicates a character string that describes the type of file that is being defined. The file can be a spreadsheet, an HTML report, or any file that you can by an application other than SAS. Maximum 40 characters.
indicates a character string that identifies the location of an InfoMart file. Maximum 200 characters.
specifies an SCL list of general identifying information about the source code that is used to view (open) this InfoMart item. This property will return a copy of the source code with the &loc reference replaced with the appropriate location information. See the Note below.
specifies an SCL list of general identifying information about the source code that is used to view (open) this InfoMart item. This property will return a copy of the source code with the &loc reference unresolved. See the Note below.
Note: The VIEW CODE and RESOLVED VIEW CODE properties
are closely related.
When you write the source code to view (open) an InfoMart, you can insert &loc into the text as a placeholder for the InfoMart's location information--information such as libref.catalog.entry.type, for example. The VIEW CODE property will return a copy of the source code with the &loc reference unresolved. The RESOLVED VIEW CODE property will return a copy of the source code with the &loc reference replaced with the appropriate location information.
You must define a CREATING JOB property in order to add any INPUT SOURCES to a table. If a table does not have a CREATING JOB property, then you must specify one when you add an input source to the table.
Using WHINFOFL |
Add | Update | Delete |
Yes | Yes | Yes |
WHINFOFL is an independent type, like all subtypes of WHOBJECT. To understand how all subtypes of WHOBJECT relate to other types, see the general information model in Relationships Among Metadata Types.
When update or add the VIEW CODE property, see Using WHINFO.
![]() |
![]() |
Copyright © 2012 by SAS Institute Inc., Cary, NC, USA. All rights reserved.