Defines a property that belongs to an object type.
This tag is required following these ACTION tags:
:PROPERTY.EXTNAME(ext_name) DT(data_type) DL(data_length) SHRTNAME(short_name) NULLS(Y | N) UUISEQ(UUI_number) |
Figure 69. Using the PROPERTY tag when adding object types
:ACTION.OBJTYPE(ADD) :OBJECT.TYPE() CATEGORY() EXTNAME() PHYNAME() ICOFILE() ICWFILE() :PROPERTY.EXTNAME() DT() DL() SHRTNAME() NULLS() UUISEQ() |
Figure 70. Using the PROPERTY tag when merging object types
:ACTION.OBJTYPE(MERGE) :OBJECT.TYPE() CATEGORY() EXTNAME() PHYNAME() ICOFILE() ICWFILE() :PROPERTY.EXTNAME() DT() DL() SHRTNAME() NULLS() UUISEQ() |
Figure 71. Using the PROPERTY tag when adding properties to object types
:ACTION.OBJTYPE(APPEND) :OBJECT.TYPE() :PROPERTY.EXTNAME() DT() DL() SHRTNAME() NULLS() UUISEQ() |
Required keyword.
The maximum length of ext_name is 80 characters. The ext_name must be unique within the object type. ext_name is stored in mixed case.
Required keyword.
Required property.
Required keyword.
This value is stored as uppercase characters; any lowercase characters are converted to uppercase.
This value can start with the characters A - Z, @, #, or $, and can contain any of these characters, plus 0 - 9 and _. No leading blanks or embedded blanks are allowed.
This value cannot be any of the SQL reserved words for the database that is used for the information catalog. Do not specify the property short names of the following required properties for every Information Catalog Manager object type: OBJTYPID, INSTIDNT, UPDATIME, or UPDATEBY.
Required keyword.
Y indicates that this value can be null. When appending a new property with the ACTION.OBJTYPE(APPEND) tag, you must specify NULLS(Y), because appended properties must be optional.
N indicates that a value for this property is required. If no data exists for a required property when an object is added to the information catalog, a not-applicable symbol is entered for the required value for data types of CHAR, VARCHAR, and LONG VARCHAR. For a required value with a data type of TIMESTAMP, the following value is entered: 9999-12-31-24.00.00.000000
Optional keyword; the default value is 0. The UUISEQ keyword is optional for properties that are not part of the UUI. The UUI is a set of properties that are defined by the administrator as the key that uniquely identifies each object.
All object types defined in the tag language file must have at least one property that is part of the UUI. The UUI can consist of up to 5 properties.
At least one property must be defined as part of the UUI.
When assigning UUI_number values to more than one property, the numbers of the UUI properties must range from 1 to the number of properties in the UUI. For example, if three properties are defined as part of the UUI, the UUI_number values must be 1, 2, and 3. You cannot skip numbers in the sequence. The UUI_number values do not need to be in the same order that the properties are specified.
Figure 72. Example of specifying the NAME property as part of the UUI
:ACTION.OBJTYPE(ADD) :OBJECT.TYPE() CATEGORY() EXTNAME() PHYNAME() ICOFILE() ICWFILE() :PROPERTY.SHRTNAME(NAME) UUISEQ() |
Empty parentheses in this figure denote values that you must provide in a tag language file.