HP 3000 Manuals

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


HP System Dictionary XL Intrinsics

SDCopyVersion 

Copies all occurrences from one version to another version.

Syntax 

     SDCopyVersion (Dcb,SourceVersion,TargetVersion,Status)

Parameters 

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

SourceVersion       Required input; type = NameOrNumberType 
                    This parameter specifies the version to be copied.

TargetVersion       Required input; type = NameOrNumberType 
                    This parameter specifies the version that will
                    contain the duplicate set of occurrences.  The target
                    version cannot have any occurrences related to it
                    prior to using this intrinsic.

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 Version Control capability.

   3.  The target version cannot have any occurrences related to it prior
       to using this intrinsic.

   4.  If linked, both the source and target versions must be linked to
       the same common version.

   5.  The target version must be in TEST status.


MPE/iX 5.0 Documentation