z/OS Network File System Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


File reading and writing

z/OS Network File System Guide and Reference
SC23-6883-00

After the z/OS NFS server is started and you have mounted the MVS data set, you can use regular data access or creation commands from your workstation to access files that reside on MVS.

For example, suppose you accessed an MVS file named prefix.file3 mounted on the local directory /mnt. This is how you could use the UNIX cat command (or a similar command) to display the file:
$ cat /mnt/file3
Suppose you accessed an MVS file named prefix.file12 mounted on the local directory /mnt. This is how you could use the UNIX vi command (or a similar command) to edit the file.
$ vi /mnt/file12

Writing a file on MVS is straightforward. If the file already exists, the file’s existing attributes are used; they are not modified during the write operation. For the priorities of attributes, see Overriding data set creation attributes.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014