HP 3000 Manuals

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


HP System Dictionary XL Intrinsics

SDDeleteVersion 

Deletes a version and all entities and relationships assigned to that
version.

Syntax 

     SDDeleteVersion (Dcb,Version,Status)

Parameters 

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

Version                   Required input; type = NameOrNumberType 
                          This parameter specifies the version to be
                          deleted.

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 Update mode.

   2.  Security--The current scope must be either the Dictionary
       Administrator scope or the version's owner scope.

   3.  The current version cannot be deleted.

   4.  The version to be deleted cannot be in Production status or be
       linked to a local version.


MPE/iX 5.0 Documentation