3.2.3 - Terminate Version Control

      Action Option -TV (-TerminateVersion) :

      terminates a version control from RDADB for a specified dataset.

      dsarch[-(DS|Dataset)] dsnnn.n [-](TV|TerminateVersion) [Mode Options]
        -(VI|VersionIndex) VersionIndix
        [-(LN|LoginName) LoginAccountName]
        [-(DB|Debug) DebugModeInfo]

      Mode options that can be specified for terminating version control action:

      The version control record to be terminated is identified by the version index given per Info option -VI (-VersionIndex) and dataset number per option -DS. This action is blocked if there exist any Web data files lined to the version index. To terminate the version control record with Web files under it, you gather the Web file names per action option -GW (-GetWebFile), and either set the version index value to 0 or a different index, or move the Web files to Saved files; then terminate the version control.


      EXAMPLE 5.

      Terminate Version Index 5 Of Ds999.9

      -(NT|NoTrim)skip trimming of spaces and comments from input
      -(NT|NoTrim)skip trimming of spaces and comments from input values to speed up reading input file(s)
      dsarch999.9 TV -VI 5

      After termination, an active version control record is changed to status 'H' and the record is retained for future references, but for a Pending version control record, it is completely removed from RDADB if it is terminated.



      Back to Top