VSAM File Transfer

Purpose

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.
 

/!
Execute NT command
/?
Help
/help
Help
/quit
Quit DDMFTP
/bye
Quit DDMFTP
/get
Download file from host
/open
Open host session
/put
Upload file to host
/del
Delete host file
/delete
Delete host file
/close
Close host session
/disconnect
Close host session
/dir
List host files
/ls
List host files
/lcd
Show current local directory
/pwd
Show current host directory
/user
Specify username [and password]
/send
Upload file to host
/recv
Download file from host
/type
Transfer type
/append
Append local file to host file
/hash
Enable/disable hash mark printing
/connect
Open host session
/bell
Beep when command completed
/exit
Quit DDMFTP
/rlen
Set record length
/cd
Change current host directory

Note   APPEND is not supported in this release.