WriteObject/WriteVersion - Teradata Meta Data Services

Teradata Meta Data Services Programmer Guide

Product
Teradata Meta Data Services
Release Number
15.00
Language
English (United States)
Last Update
2018-09-28
Product Category
Teradata Tools and Utilities

WriteObject/WriteVersion

Purpose

The CMetaClassDesc WriteObject and WriteVersion functions update the CMetaClassDesc object.

Description

The properties of a CMetaClassDesc object that can be modified are:

  • Name
  • Description
  • DescriptionRequired
  • OwnerID
  • SecurityProfileID
  • SuperClasses
  • Updates to other fields will be ignored.

    It is recommended that you do not change the names of the ClientLoadModel classes.

    Restriction

    When updating an existing class, you can not remove from it or add to it a SuperClass that has properties. When initially creating a class with superclasses, the superclasses can contain properties. However, after the initial WriteObject() for a class definition has completed successfully, any superclasses added or removed from the class can not have properties.

    Requirements

    The ObjectID must be set.

    The engine does not permit updates to the following predefined CMetaAIM objects:

     

    ObjectID

    Name

    100-1063

    MDSMetaModel classes

    Syntax

    HRESULT WriteObject ();
    HRESULT WriteVersion ();