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


Time stamps for MVS data sets

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

This topic explains how to obtain time stamps for MVS data sets. For z/OS UNIX files, the time stamp is directly available from the underlying file system because it is saved as part of the file metadata.

UNIX file attributes define the following time stamps:

atime
The last time the file was accessed (read).
mtime
The last time the file was modified (write).
ctime
The last time the file status was changed (chmod).
The NFS handles time stamps differently for these types of data sets:
  • System-managed PS data sets and system-managed VSAM data sets
  • Direct data sets and non-system-managed PS data sets
  • Non-system-managed VSAM data sets
  • PDS and PDSE members

The z/OS NFS server treats all MVS data sets as belonging to the same file system (having the same file system id). Since not all attributes are supported for all DFSMSdfp access methods, but the NFS protocols track attribute support at the file system level, the z/OS NFS server reports to the client that atime and mtime are supported for all MVS data sets. The z/OS NFS server will generate values as described in this topic.

The metatime attribute, which is new in NFS version 4, is not supported by any DFSMSdfp access method, nor by the z/OS NFS server. The new NFS version 4 change attribute will be based on mtime values as described in this topic.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014