[an error occurred while processing this directive]

HP OpenVMS Systems

UNIX Portability Initiative
» 

HP OpenVMS Systems

OpenVMS information

» What's new on our site
» Upcoming events
» Configuration and buying assistance
» Send us your comments

HP OpenVMS systems

» OpenVMS software
» Supported Servers
» OpenVMS virtualization
» OpenVMS solutions and partners
» OpenVMS success stories
» OpenVMS service and support
» OpenVMS resources and information
» OpenVMS documentation
» Education and training

UNIX Portability

» Roadmap
» CRTL
» GNV
» File System
» Future Plans

Evolving business value

» Business Systems Evolution
» AlphaServer systems transition planning
» Alpha RetainTrust program

Related links

» HP Integrity servers
» HP Alpha systems
» HP storage
» HP software
» HP products and services
» HP solutions
» HP support
disaster proof
HP Integrity server animation
HP Integrity server animation
Content starts here
time of last file access

In addition to traditional creation and write time stamps, UNIX Portability introduces the UNIX concept of "Last File Access Time". The following attributes are provided:

  • ATR$C_ACCDATE (POSIX st_atime) reflects the last time a file was accessed.

  • ATR$C_ATTDATE (POSIX st_ctime) reflects the last time a file attribute was modified. UP also implements modifications to the file header.

  • ATR$C_ATTDATE (POSIX st_ctime) reflects the last time a file attribute was modified. UP also implements modifications to the file header.

  • ATR$C_MODDATE (POSIX st_mtime) reflects the last time data was modified.
UNIX Portability also implements modifications to the file header. Modifications to the file header are recorded as ATTDATE unless the file is actually accessed. The REVDATE ACP/QIO attribute is the most recent of the MODDATE and ATTDATE timestamps.

A new ACP/QIO attribute returns the stored REVDATE. When a file is closed, if "norecord" is set, ACCDATE and REVDATE are not altered. Otherwise, if data has been read from the file, closing a file updates the file's access date. If data has been written to the file, closing a file updates the file's modification date.