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


Accessing z/OS UNIX file systems and z/OS conventional MVS files

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

To access z/OS UNIX files or z/OS conventional MVS data sets, enter both the mvslogin command to log in to the z/OS host system and the mount command to mount the files or data sets to your local system. The mvslogin command is only required when accessing data on systems where the z/OS NFS server site security attribute is set to saf or safexp. Once the files or data sets are mounted to a local directory, you can read, write, create, delete, and treat the mounted files as part of your workstation's local file system. When you are finished with your work, use the umount and mvslogout commands to break the connection. The mvslogout command is only required when the mvslogin command was used to begin the connection.

z/OS UNIX file systems and MVS data sets are very different and require different management techniques. Prior to z/OS V1R11, the NFS server distinguished between the two by the fact that z/OS UNIX file system paths are prefixed with an hfs prefix value (/hfs/pathname) and MVS data sets are not, The hfs prefix is not actually part of the path name. It is only intended as a trigger to tell the z/OS NFS Server that the specified path is a z/OS UNIX path, not an MVS data set. Based on the presence, or absence, of a prefix, the NFS Server invokes its appropriate data management functions.

Starting in V1R11, the z/OS NFS file system type management function has been expanded by adding an mvs prefix and a customer-configurable path resolution heuristic. The new mvs prefix provides the capability for the customer to explicitly specify a prefix for identifying MVS data sets, like the hfs prefix does for z/OS Unix files. The customer-configurable heuristic allows the customer to specify how to interpret absolute path names that do not have a prefix specified.

Note: If the underlying z/OS UNIX file system structure should change due to the mount of a new HFS or zFS file system into the space accessible by an existing remote NFS Client mount, this change and new directory structure and contents will not be visible to the remote NFS Client until the NFS mount is unmounted and remounted or the z/OS NFS Server is restarted.
To access files on z/OS systems where the z/OS NFS server site security attribute is set to saf, exports, or safexp, you need a z/OS user ID and password, and authorization to access the files that you need. You can only establish one z/OS session for each z/OS user ID. If you do not already have a z/OS user ID, a z/OS password, and access authorization, request them from your z/OS system administrator.
Note: If you cannot use the mvslogin, mvslogout, or showattr commands, they might be installed incorrectly or in another directory. Ensure that your system administrator has made the executable code for these three commands available to your workstation and that you have been given the correct path name to find the commands. Also, make sure that your version of these commands matches the release of the z/OS NFS that you are using. Otherwise, the commands might not function properly.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014