Copying data using z/OS shell commands
You can use the z/OS® shell commands cp
(copy) and mv (move) to copy or move files:
- Between the z/OS UNIX file system and MVS™ data sets.
- Within the z/OS UNIX file system.
- Using cp to copy a sequential data or PDS member into a z/OS UNIX file
- Using cp to copy a PDS to a z/OS UNIX directory
- Using cp to copy a z/OS UNIX file into a sequential data set or PDS member
- Using cp to copy z/OS UNIX files into a PDS or PDSE
- Copying files within the z/OS UNIX file system
- Using cp to copy executables between MVS and z/OS UNIX
For more information about the mv and cp - Copy a file, see the command descriptions in z/OS UNIX System Services Command Reference.