Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Drive Independent Program

IP.com Disclosure Number: IPCOM000122005D
Original Publication Date: 1991-Oct-01
Included in the Prior Art Database: 2005-Apr-04
Document File: 1 page(s) / 36K

Publishing Venue

IBM

Related People

Weber, O: AUTHOR

Abstract

This article describes a mechanism of retrieving the date and time that an OS/2* object was created if that object is not stored on a High Performance (HPFS) driver. There is currently no method available to retrieve the date and time when an OS/2 object was created if that object is not stored on an HPFS drive. If the drive is not HPFS (High Performance File System), then the DosOpen API (Application Programming Interface) will return a Date Last Changed, but it will return zeros for the creation date and time. This causes inconsistencies across an application because the creation date is only available for the objects stored on HPFS drives. Within an application, sometimes it is available, and sometimes it is not.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 87% of the total text.

Drive Independent Program

      This article describes a mechanism of retrieving the date
and time that an OS/2* object was created if that object is not
stored on a High Performance (HPFS) driver.  There is currently no
method available to retrieve the date and time when an OS/2 object
was created if that object is not stored on an HPFS drive.  If the
drive is not HPFS (High Performance File System), then the DosOpen
API (Application Programming Interface) will return a Date Last
Changed, but it will return zeros for the creation date and time.
This causes inconsistencies across an application because the
creation date is only available for the objects stored on HPFS
drives.  Within an application, sometimes it is available, and
sometimes it is not. This article describes the newly invented method
to insure that the creation date and time is available consistently.

      The solution is that the creation date and time should be
stored in the file's Extended Attributes (EAs) when the file is
created by the application.  This is accomplished by using the DOS
APIs to retrieve the current date and time at the time the file is
created.  The creation date and time EA is then created, and the
current date and time is written to it.  Now, whenever the creation
date and time is not available to the application because the drive
is not HPFS, the creation date and time can still be retrieved and
used by the application, by retrieving it from the EA.

      The adva...