FIXROOT Copyright (c) 2012 Allegro Consultants, Inc. Author: Stan Sieler (sieler@gmail.com) This program searches for IMAGE root files that have dates more recent than any dates for the datasets of the database. If no newer date is found, then the root file date is changed to match the newest date of any dataset in the database. (note: only up to the first 99 datasets are checked). Why? Because STORE will change a root file's modification date :( As an example, assume your software did some updates to set 3 of the SALES database last week, and then you did a STORE of the SALES database today. The modification date of the file "SALES" (the root file) will be today's date, not whatever it was before the STORE operation. FIXROOT will look at the datasets of SALES and notice that SALES03 has the newset date of any datasets, and that date is still less than the root file's date ... so the root file date will be changed to match that of SALES03. By default, only the access and modify dates of a root file are checked (and possibly fixed). If you want to check/fix the creation date, specify the -create option. NOTE: not all options below have comments. That's often an indication that they're for internal R&D testing. Options are specified via the INFO parameter: -F... or ... Specifies a fileset to look for. Note: the -F is optional. Only one fileset may be specified per run. If a fileset is not specified, either @, @.@, or @.@.@ will be used (@.@.@ if you are SM, @.@ if you are AM). -[no]FAKEFIX FAKEFIX causes the FIXFDATE to not actually fix bad file dates. (This was used for internal testing.) -[no]ACCess do [not] update root access date to match a dataset -[no]CREate do [not] update root create date to match a dataset -[no]MODify do [not] update root modify date to match a dataset Default: -ACCESSS -MODIFY -HELP Displays help information and then terminates. -[no]PARTPROGRESS PARTPROGRESS tells FIXROOT to display progress messages once every 100 files. It is a "partial" form of PROGRESS. Setting this flag implicitly does a NOPROGRESS. NOPARTPROGRESS disables PARTPROGRESS, but doesn't affect the setting of PROGRESS/NOPROGRESS. Default: -NOPARTPROGRESS -[no]PROGRESS PROGRESS tells FIXROOT to display the progress messages for interactive users. The progress message is a quick display of each file name as it is encountered. If the file is not interesting, it is quickly erased from the screen. NOPROGRESS tells FIXROOT to suppress the progress messages it normally generates for interactive users. The progress message is a quick display of each file name as it is encountered. If the file is not interesting, it is quickly erased from the screen. Default: -PROGRESS for interactive, -NOPROGRESS for batch. -[no]Quiet QUIET tells FIXROOT to suppress the initial report and trailing summary. NOQUIET allows FIXROOT to display an initial report and trailing summary. -[no]SHOWDate SHOWDATE tells FIXROOT to report the date used in deciding that a file was interesting. This adds an extra column to the report output. -SHOWDATE implies -noSHOWDATES NOSHOWDATE tells FIXROOT to not report the date used in deciding that a file was interesting. Default: -NOSHOWDATE -[no]SHOWDATES SHOWDATES tells FIXROOT to report all dates for interesting files (on a separate line of output). -SHOWDATES implies -noSHOWDATE Default: -NOSHOWDATES -[no]Verbose // Version: 20151208