REGCP$HELP.HLB  —  EXPORT  DATABASE
    Exports the entire OpenVMS Registry database contents to a text
    format file.

    The default file format is OpenVMS format.  You can also specify
    that the file be exported as a Windows NT-compatible text file
    format, which you can use to import key names and values into a
    Windows Registry.

    This command requires the SYSPRV privilege.

    Format:

      EXPORT DATABASE

1  –  Qualifiers

1.1    /FORMAT

    /FORMAT=NT
    /FORMAT=OPENVMS (default)

    Specifies the format in which the system writes the database.

 				NOTE
    If you intend to import the database to an OpenVMS system, you
    should not specify /FORMAT=NT.  Doing so will not preserve OpenVMS
    specific structures which are needed to import to OpenVMS.

1.2    /LOG

    Displays the export progress to the screen.

1.3    /OUTPUT

    /OUTPUT=file-name

    Specifies a name for the exported file. The default output file
    name is REGISTRY.TXT.

1.4    /WAIT

    /WAIT=seconds (default = 90)
    /NOWAIT

    Specifies the maximum amount of time, in seconds, that you are
    willing to wait for command completion.  If the Registry server
    does not complete the request in the specified interval, REG$CP
    returns REG-F-NORESPONSE. The default interval is 90 seconds.
    /NOWAIT is equivalent to specifying /WAIT=0, but there may still
    be a short wait period.

2  –  Example

        REG> EXPORT DATABASE/LOG/OUTPUT=TUES_VERSION.TXT/FORMAT=OPENVMS
        REG> EXPORT DATABASE/LOG/OUTPUT=TUES_VERSION.TXT

      The EXPORT command in these examples logs the progress of the
      export to the screen as the system exports the entire OpenVMS
      Registry database to the TUES_VERSION.TXT file in OpenVMS
      format.

        REG> EXPORT DATABASE/LOG/OUTPUT=TUES_VERSION.TXT/FORMAT=NT

      The EXPORT command in this example logs the progress of the
      export to the screen as the system exports the entire OpenVMS
      Registry database to the TUES_VERSION.TXT file in Windows NT
      format.
Close Help