You can use the Get or MVSGet subcommand
to copy many files (or one large file) without storing the files in
the client's file system. This is useful for testing purposes because
you do not have to worry about allocating the disk space on the client
system.
Procedure
- Change the working directory to *DEV.NULL by entering the
following subcommand:
LCD *DEV.NULL
This affects the working directory for only the Get or MVSGet subcommand.
- Use the Get or MVSGet subcommand to
copy the file to the client system. The input data set must be valid,
and the output file can be a new or an existing file. In either case,
the file is not actually stored. The following response
shows information such as the number of bytes transferred and the
rate of transfer.
Command:
lcd *dev.null
Working Directory for GET is NULL Device
for PUT is HFS directory /tmp
Command:
get 'user2.junk(junk)' example
>>> EPSV
229 Entering Extended Passive Mode (|||1034|)
>>> RETR 'user2.junk(junk)'
125 Sending data set USER2.JUNK(JUNK)
250 Transfer completed successfully.
65 bytes transferred in 0.070 seconds. Transfer rate 0.93 Kbytes/sec.
Command:
- To end the use of the *dev.null directory for the Get or MVSGet subcommand, issue another change local working
directory subcommand.