VMS Help  —  EXCHANGE  Description
    You can use EXCHANGE in two ways. You can work interactively
    (within the utility) by entering "EXCHANGE" at the DCL prompt.
    This invokes the utility, which responds with the EXCHANGE>
    prompt. You can then enter any EXCHANGE command. You must invoke
    the utility and use it interactively if you want to execute
    more than one EXCHANGE command. However, you can enter a single
    EXCHANGE command at DCL level. For example, the following command
    entered at DCL level lists the directory of a foreign volume:

    $ EXCHANGE DIRECTORY DMA1:/VOLUME_FORMAT=RT11

    When you use EXCHANGE at the DCL level, the utility returns you
    to the DCL prompt after it completes its task. If you are using
    EXCHANGE interactively, you can return to DCL at any time by
    typing EXIT or CTRL/Z.

    You can direct output from EXCHANGE operations in several ways.
    The command qualifier /[NO]MESSAGE allows you to control the
    default display of information from EXCHANGE MOUNT, INITIALIZE,
    and DISMOUNT operations. When you use the EXCHANGE commands
    COPY, DELETE, RENAME, or TYPE, include the /LOG qualifier to send
    information about the files being processed to SYS$OUTPUT. When
    you use the EXCHANGE command DIRECTORY, use the /OUTPUT[=file-
    spec] qualifier to direct the output to a specified file. If
    you specify the /OUTPUT qualifier without a file specification,
    the output is directed to SYS$OUTPUT. To send the output to a
    printer, use the /PRINTER qualifier with the DIRECTORY command.
Close Help