Defines the attributes for an object type or identifies an object type.
This tag is required immediately following:
:OBJECT.TYPE(type) CATEGORY(category) EXTNAME(ext_name) PHYNAME(table_name) ICOFILE( ) ICWFILE(Windows_ICON_file_name) |
Different OBJECT tag keywords are required or valid depending on the type of ACTION tag the OBJECT tag follows.
Adding or merging object types
Figure 59. Using the OBJECT tag when adding object types
:ACTION.OBJTYPE(ADD) :OBJECT.TYPE() CATEGORY() EXTNAME() PHYNAME() ICOFILE() ICWFILE() :PROPERTY.EXTNAME() DT() DL() SHRTNAME() NULLS() UUISEQ() |
Figure 60. Using the OBJECT tag when merging object types
:ACTION.OBJTYPE(MERGE) :OBJECT.TYPE() CATEGORY() EXTNAME() PHYNAME() ICOFILE() ICWFILE() :PROPERTY.EXTNAME() DT() DL() SHRTNAME() NULLS() UUISEQ() |
Required keyword.
The value of type must be unique to an object type across all related information catalogs that contain the same object type. This ensures that objects of this object type can be shared among the related information catalogs. If the value of type already exists, it is used as a search argument.
The maximum length for the value is 8 characters. The value is stored in uppercase characters. 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.
After you create the object type, you cannot change the value of type.
Required keyword.
You cannot specify PROGRAM or ATTACHMENT as the category for a new object type.
You cannot change the information on this keyword after the object type is defined.
This name must be unique within related information catalogs.
The value of ext_name is stored in mixed case.
You can change the information on this keyword after the object type is defined.
Optional keyword.
The maximum length of the name is defined when the Information Catalog Manager is installed. The table_name value must be unique within the information catalog and cannot contain any SQL reserved words.
By default, table_name is the type that is specified for the TYPE keyword. This value is not case sensitive; you can specify this value with uppercase or lowercase characters.
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.
After the table is created, you cannot change its name.
Optional keyword.
You cannot specify the drive and path information that identifies where the icon file resides using this keyword. You must specify this information as an input parameter for the FLGImport API call (see the Information Catalog Manager Programming Guide and Reference), the import function on the user interface (see Importing a tag language file from the command line), or the IMPORT option of the DGUIDE command (see Importing a tag language file from the command line).
You can change this value after the object type is created by using ACTION.OBJTYPE(UPDATE). After you specify an icon file to associate with an object type, you can change the associated icon, but the object type must always be associated with an icon.
Figure 61. Using the OBJECT tag when adding properties to object types
:ACTION.OBJTYPE(APPEND) :OBJECT.TYPE() :PROPERTY.EXTNAME() DT() DL() SHRTNAME() NULLS() UUISEQ() |
Required keyword.
Deleting an existing object type.
Figure 62. Using the OBJECT tag when deleting object types
:ACTION.OBJTYPE(DELETE) :OBJECT.TYPE() |
Figure 63. Using the OBJECT tag when deleting object types and all objects of that type
:ACTION.OBJTYPE(DELETE_EXT) :OBJECT.TYPE() |
Required keyword.
Updating object type information.
Figure 64. Using the OBJECT tag when updating object types
:ACTION.OBJTYPE(UPDATE) :OBJECT.TYPE() EXTNAME() ICOFILE() ICWFILE() |
Required keyword.
You can update this value.
This name must be unique within related information catalogs.
The value of ext_name is stored in mixed case.
Optional keyword.
You can update this value.
The maximum length of Windows_ICON_file_name is 254 characters. You cannot use this keyword to specify the drive and path information that identifies where the ICON file resides. You must specify this information as an input parameter for the FLGImport API call, the import function on the user interface, or the IMPORT option of the Information Catalog Manager command.
Adding, updating, deleting, or merging objects
Figure 65. Using the OBJECT tag when adding objects
:ACTION.OBJINST(ADD) :OBJECT.TYPE() :INSTANCE.short_name() |
Figure 66. Using the OBJECT tag when merging objects
:ACTION.OBJINST(MERGE) :OBJECT.TYPE() :INSTANCE.short_name() |
Figure 67. Using the OBJECT tag when updating objects
:ACTION.OBJINST(UPDATE) :OBJECT.TYPE() :INSTANCE.SOURCEKEY(UUI_short_name()...) short_name() |
Figure 68. Using the OBJECT tag when deleting objects
:ACTION.OBJINST(DELETE) :OBJECT.TYPE() :INSTANCE.SOURCEKEY(UUI_short_name()...) |
Required keyword.