HP OpenVMS Systems

ask the wizard
Content starts here


» close window

The Question is:

How can I use the DIRECTORY command to list only the files on a disk which have
 no backup date recorded?  Is this a gotcha?

The Answer is :

  DCL lexical functions such as f$file_attributes and a simple loop
  through the directory, most likely.
    $ pipe direct/nohead/notrai/width=filename=50/date=backup | -
        search sys$input "<no backup recorded>"

answer written or last revised on ( 23-APR-2001 )

» close window