 |
The Question is:
Is there a way (using f$xxxx or some type of equiv) that I can use to replicate
the "/before" (found with dir/copy) function that VMS has in a .COM file
(without having to write many, many lines as a sub(s))? I'm looking to locate
files with a date "x" d
ays ago (from today) for zip'ing. I haven't found anything so far. I haven't
found anything in the User manual so far or on the internet.
Thanks,
Rich
The Answer is :
F$SEARCH to find the files, F$FILE_ATTRIBUTES itemcode CDT for the
creation date, and F$CVTIME to convert into a comparision-format
time for easy string-based comparison testing with IF statements.
Books and documentation on DCL are available; see the FAQ for
pointers to this material, as well as to various reference and
tutorial materials, examples and other resources.
|