VMS Help  —  EXCHANGE  /NETWORK  Qualifiers  /TRANSFER_MODE
       /TRANSFER_MODE=option

    Specifies the I/O method to be used in the transfer. This
    qualifier is useful for all file formats. You can specify any
    one of the following options:

    Option                Function

    AUTOMATIC             Allows the EXCHANGE/NETWORK command to
                          determine the appropriate transfer mode.
                          This is the default transfer mode.

    BLOCK                 Opens both the input and output files for
                          block I/O and transfers the files block by
                          block.

    CONVERT[=option[,...]]Reads records from the input file, packs
                          them into blocks, and writes them to the
                          output file in block mode. The options
                          listed in the following table determine
                          what additional information is inserted
                          during the transfer.

    RECORD                Opens both the input and output files for
                          record I/O and transfers the files record
                          by record. The target system must support
                          record operations, and the input file must
                          be record oriented.

    The following four options are available with the CONVERT
    transfer mode to control the insertion of special characters
    in the records:

    Option                Function

    CARRIAGE_CONTROL      Any carriage control information in the
                          input file is interpreted, expanded into
                          actual characters, and included with each
                          record.

    COUNTED               The length of each record, in bytes, is
                          included at the beginning of the record.
                          The length includes all FIXED_CONTROL,
                          CARRIAGE_CONTROL, and RECORD_SEPARATOR
                          information in each record.

    FIXED_CONTROL         All variable length with fixed control
                          record (VFC) information is written to
                          the output file as part of the data. This
                          information follows the record length
                          information, if the COUNTED option was
                          specified.

    RECORD_SEPARATOR=     A 1- or 2-byte record separator is inserted
    separator             between each record. Record separator
                          characters are the last characters in the
                          record. The three choices for separator
                          characters are as follows:

                          o  CR: Specifies carriage return only.

                          o  LF: Specifies line feed only.

                          o  CRLF: Specifies carriage return and line
                             feed.
Close Help