Transferring files using the Network File System feature
Using the Network File System feature, you can edit or browse a z/OS UNIX file directly from your workstation. For example, if you want to copy a file to a workstation file, you do not need to move it to an MVS™ data set first. Here is an example showing the steps involved:
- Log on to the host using mvslogin.
- Mount the directory /u/usr1/a/b at the workstation with
the command:
mount mvshost:"/u/usr1/a/b" /x/y
- Copy the file /u/usr1/a/b/c to the workstation file /mycopy/c with
the command:
cp /x/y/c /mycopy/c
cp /proj2/modc /mypgma/b/modc
Suppose you have an executable that you compiled and linked ont a workstation, and you want to store it in an MVS data set but run it from the workstation. You copy the executable to the mounted z/OS UNIX file in binary format. Later, when you want to run the program from the workstation, you use NFS to mount the directory in binary format, and then run the program from the mounted z/OS UNIX file system.
For more information about working with NFS files on your workstation, see DFSMS: Network File System User's Guide.