MPUT

Read syntax diagramSkip visual syntax diagram MPut localfile

Purpose

Use the MPUT subcommand to transfer a file or group of files to a foreign host.

Operands

localfile
A local file or file group on the local host to be transferred to the foreign host. For information about how to specify foreignfile see File Name Formats.

Usage Notes

  • To transfer files to a foreign host, a working directory must be established for which you have at least write privilege. For more information see the subcommands ACCT and CD or CWD.
  • For z/VM foreign hosts, pattern matching can be used to specify a subset of local files to be transferred. For more information see File Name Pattern Matching.
  • To transfer multiple files to which pattern matching cannot be applied, repeat localfile as necessary, with each localfile specification separated by at least one space or blank.
  • The MPUT subcommand creates foreign files in the same manner as those created (on a single file basis) when the PUT subcommand is used. For more information see the Usage Notes for PUT.
  • When files are transferred between two hosts, appropriate transmission attributes must be used to ensure the content and structure of any transferred file are preserved. For more information, please refer to Controlling File Translation.