HP OpenVMS Systems

ask the wizard
Content starts here

Comparing files based on date?

» close window

The Question is:

What is the command to compare files based on date?
Where can I get a manual describing the various Open VMS commands?

The Answer is :

  Your question on date-based file comparisions is sufficiently terse
  as to be quite difficult for the OpenVMS Wizard to answer.
  There are a variety of date-related mechanisms within OpenVMS, ranging
  from /SINCE and /BEFORE qualifiers, DCL lexical functions that permit
  the retrieval and/or the conversion of dates and date formats (f$time,
  f$file_attributes, f$cvtime, etc), and the format of the absolute, delta,
  and combination times on OpenVMS.  File comparisions can include the
  DIFFERENCE command -- which itself supports /SINCE and /BEFORE -- and
  various DCL lexical functions such as f$search and f$file_attributes.
  As for your second question -- please, one question to a posting -- please
  see the OpenVMS FAQ for pointers to OpenVMS training materials, Compaq and
  customer websites, and to the available OpenVMS documentation.

answer written or last revised on ( 14-MAR-2000 )

» close window