z/OS UNIX System Services User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Step 2. Copy the file from the file system to a data set

z/OS UNIX System Services User's Guide
SA23-2279-00

Use the TSO/E OGET command with the BINARY option to copy the archive file into a sequential data set. See OGET for more information.
tso "OGET '/tmp/testpgm.pax' 'POSIX.TESTPGM.PAX' BINARY"
The OGET command copies the archive file into the specified MVS™ data set:
  • '/tmp/posix/testpgm.pax' is the absolute pathname for the archive file.
  • 'POSIX.TESTPGM.PAX' is the fully qualified data set name for the data set.
  • BINARY indicates that the data is binary.
The final step is to use ftp (or some other method) to send the file to the intended destination.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014