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


Using cp to copy a PDS to a z/OS UNIX directory

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

The following example uses the cp command to copy a sequential data set or PDS member into a z/OS UNIX file. You use the same syntax for the mv command.

To copy all members from the fully-qualified PDS 'turbo.gammalib' to the existing z/OS UNIX directory dir1, enter the following:
cp "//'turbo.gammalib'" dir1
Note that dir1 is in the current working directory.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014