1 – 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.1 – Qualifiers
1.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.1.2 /LOG
Displays the export progress to the screen.
1.1.3 /OUTPUT
/OUTPUT=file-name Specifies a name for the exported file. The default output file name is REGISTRY.TXT.
1.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.
1.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.
2 – KEY
Exports a specific OpenVMS Registry database key (and optionally its subkeys) to a text format file. /NOSUBKEYS is the default. 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 KEY key-name key-name Specifies the name of the key to be exported.
2.1 – Qualifiers
2.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 exported text file to an OpenVMS system, do not specify /FORMAT=NT. NT Export Registry File format does not preserve OpenVMS specific data structures.
2.1.2 /LOG
Displays the export progress to the screen.
2.1.3 /OUTPUT
/OUTPUT=file-name Specifies a name for the exported file. The default output file name is REGISTRY.TXT.
2.1.4 /SUBKEY
/SUBKEY /NOSUBKEYS (default) Specifies whether or not the key's subkeys are also to be exported.
2.1.5 /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.