HP 3000 Manuals

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


HP System Dictionary XL Intrinsics

SDCreateEntVarAttr 

Assigns text to a variable length attribute of an entity.

Syntax 

     SDCreateEntVarAttr (Dcb,EntityType,Entity,Attribute,Value,
                         ValueLength,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 of the
                    entity.

Entity              Required input; type = NameOrNumberType 
                    This parameter specifies the entity to which the
                    attribute value will be assigned.

Attribute           Required input; type = NameOrNumberType 
                    This parameter specifies the variable length
                    attribute to which the text will be associated.

Value               Required input; type = ValueTextType 
                    This parameter is the attribute text to assign to the
                    attribute.

ValueLength         Required input; type = 4 byte Integer 
                    This parameter specifies the number of bytes of text
                    in the parameter Value.

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.

Discussion 

The following restrictions apply when using this intrinsic:

   1.  Open mode--The dictionary must be opened in either Shared Update 
       mode or Exclusive Update mode.

   2.  Security--The current scope must be either the Dictionary
       Administrator scope or a scope with Create capability and Modify 
       access to the entity.

   3.  The current version must be in TEST status.

   4.  The specified entity must not be linked with a common entity.


MPE/iX 5.0 Documentation