HP 3000 Manuals

SDAddAttrEntType [ HP System Dictionary XL Intrinsics ] MPE/iX 5.0 Documentation


HP System Dictionary XL Intrinsics

SDAddAttrEntType 

Adds an attribute to an entity type's attribute list in the dictionary
structure.

Syntax 

     SDAddAttrEntType (Dcb,EntityType,Attribute,Status)

Parameters 

Dcb                 Required input; type = DcbType 
                    This parameter passes information about the
                    dictionary to this intrinsic.  It is initialized by
                    the SDOpen intrinsic.

EntityType          Required input; type = NameOrNumberType 
                    This parameter specifies the entity type to which an
                    attribute will be added.

Attribute           Required input; type = NameOrNumberType 
                    This parameter specifies the attribute to add.

Status              Output; type = StatusType 
                    This parameter contains information indicating the
                    success or failure of the intrinsic call.  This
                    information is detailed in Table 3-1, located in
                    Chapter 3 of this manual.

Discussion 

The following restrictions apply when using this intrinsic:

   1.  Open mode--The dictionary must be opened in Exclusive 
       Customization mode.

   2.  Security--The current scope must be either the Dictionary
       Administrator scope or a scope with Extend capability.

   3.  Maximum Quantities--the maximum number of attributes that can be
       associated with an entity type is 128, not including the six
       special attributes.

   4.  An attribute may be assigned only once to an entity type's
       attribute list.

   5.  The maximum total size of all the attribute list's data values
       (not including special attributes) is 2048 bytes.  This value is
       checked whenever the dictionary is restructured.  A description of
       special attributes is located in Chapter 3 of the General
       Reference Manual (Vol 1).

   6.  Alias or variable length attributes may not be specified.

   7.  When the dictionary is restructured, the specified attribute will
       be added to every entity occurrence of the particular entity type
       specified in the intrinsic call.  Attribute value defaults, listed
       below, depend on the attribute type being used.

       NOTE : These values will be used when no edit exists for the
       attribute.

                        Boolean          =  false
                        character        =  blank characters
                        floating point   =  floating point zero

                        integer          =  binary zero



MPE/iX 5.0 Documentation