REGCP$HELP.HLB  —  IMPORT
    Allows a user to import a text-formatted file (created by the
    EXPORT command) into an OpenVMS Registry database.

    You can also import a Windows NT Export Registry File into an
    OpenVMS Registry database.

               CONVERSION OF WINDOWS NT BINARY VALUES

       You can import Windows NT resource descriptors (such as
       configuration data) into the OpenVMS Registry database
       even though OpenVMS does not support NT resource descriptors.
       The system displays a message when importing NT resource
       descriptors and converts them to the binary data type.

    This command requires the SYSPRV privilege.

    Format:

      IMPORT

1  –  Qualifiers

1.1    /INPUT

    /INPUT=file-name

    Specifies a name of the file to import. The default input file
    name is REGISTRY.TXT.

1.2    /LOG

    Displays the import progress to the screen.

1.3    /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.4    /WRITEBEHIND

    /WRITEBEHIND
    /NOWRITEBEHIND (default)

    Specifies when the information can be written to disk.
    /WRITEBEHIND specifies that the information can be written to
    disk later. /NOWRITEBEHIND specifies write-through operation
    (that is, the information must be written to disk immediately).

2  –  Examples

        REG> IMPORT /LOG /INPUT=TUES_VERSION.TXT

      The IMPORT command in this example logs the progress of the
      import to the screen as the system imports the TUES_VERSION.TXT
      file.
Close Help