HP 3000 Manuals

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


HP System Dictionary XL Intrinsics

SDSetVersionStatus 

Sets a version to a version status.

Syntax 

     SDSetVersionStatus (Dcb,Version,VersionStatus,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 whose
                          status will be changed.

VersionStatus             Required input by value; type = 
                          VersionStatusType 
                          This parameter specifies the status to which
                          the version will be set.  Numerical values for
                          the version statuses are:
                             1.  = Test status
                             2.  = Production status
                             3.  = Archival status

Status                    Output; type = StatusType 
                          This parameter contains information indicating
                          the success or failure of the intrinsic call.
                          This information is detailed in Table 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 the Dictionary Administrator
       scope or a scope with version control capability.


MPE/iX 5.0 Documentation