The VSAM File Transfer tool is a command-line utility that supports file transfer to and from mainframe VSAM data sets and PDS/PDSE members using the stream input/output protocol of the IBM Distributed Data Management (DDM) architecture, level 2 and higher.
This utility is implemented as a source DDM requester and interoperates with a specific target DDM server implementation on MVS/ESA and OS/390 called IBM Distributed FileManager. The DDM server is available as a component of IBM Data Facility Storage Management Subsystem (DFSMS), Version 1 Release 2 or higher.
The VSAM File Transfer utility is executed from a command prompt by typing "ddmftp." To open a host session for purposes of file transfer, type "open." You receive the following interactive prompts:
DDMFTP> open
host [remote LU] REMOTELU
user USERID
password PASSWORD
dataset [USERID] USERID.DATASET
local LU [LOCAL] LOCALLU
mode [QPCSUPP] MODE
You can also batch the commands by typing the following:
DDMFTP> open remotelu=REMOTELU user=USERID password=PASSWORD dataset=USERID.DATASET locallu=LOCALLU mode=MODE
The required elements are remotelu, user, and password. The remaining three elements are defaulted to dataset=USERID, and locallu=LOCAL, and mode=QPCSUPP.
To obtain help, type "help" or "?" at a VSAM File Transfer command prompt.
Note APPEND is not supported in this release.