DBCHKD
         FUNCTION:
            Checks a directory file (any file created with
            DIR/D/H/V filspec=) against the files on the system.

            This program will NOT change any of the files on the user's
            system.

         HINTS/RESTRICTIONS:
            Use DBCHKD to find out what files on your system differ from a
            directory.

                 DBCHKD requires VERIFY.LIT and AMOS/L 1.3 or later.



         FORMAT:
                 .                  _RUN DBCHKD

         DEFAULTS:
                 1.   The directory file name defaults to AMOS
                      2.   The directory file extension defaults to .DIR
                      3.   All Yes/No questions default to No

              OPTIONS:
                There are no options other than the obvious.

              OPERATION:
                Log into an account that has a directory file that you wish to
                 check:
                      .                       _LOG DSK0:[1,2]RETURN

                 Type RUN DBCHKD and press the RETURN key:
                      .                       _RUN DBCHKDRETURN

                 DBCHKD will now display a screen of information about DBCHKD. Press
                 the RETURN key to continue.
                      .                       _RETURN

                 DBCHKD then asks the following questions:
                      1.   What is the name of the directory to be checked                            _______________________________________________
                           (default=AMOS.DIR)                            __________________
                           Type dirnam and press the RETURN key:
                                (dirnam)RETURN
                                     where dirnam is the name of any file created with
                                     "DIR/D/H/V filnam.ext=".  The filnam defaults to
                                     "AMOS" and the .ext defaults to .DIR
                      DBCHKD will then look for the named file and if it is not in the
                      account will say:
                           Fatal error - I can't find (dirnam.ext)                            _______________________________________
                      and then abort.



            DBCHKD - rev. A (03/25/91)



            DBCHKD (Cont'd)                                          Page 2


                      2.   If any files in this account have the same name(s) as
                           those used by DBCHKD then DBCHKD will say:
                                WARNING! The following files WILL be overwritten:                                 _________________________________________________
                                (names of files affected)                                 _________________________
                           and ask:
                                Do you wish to continue? (DEF=N) ?                                 __________________________________
                                     Type a "Y" and then a RETURN to continue, any
                                     other character (or none) followed by a
                                     RETURN will abort DBCHKD
                                          YRETURN
                 DBCHKD then displays:
                      Phase 1 of DBCHKD - Create Necessary files                       __________________________________________
                           and continues to write some basic programs and command
                           files (all named UTDCPx) and then makes a copy of the
                           directory file named UTDCP1.DIR.
                       Phase 2 of DBCHKD - Verify the Directory to a file                        __________________________________________________
                           See the VERIFY.LIT information.
                        Phase 3 of DBCHKD - Eliminate the 'VERIFIED' files                         __________________________________________________
                           Deletes all of the VERIFIED files from the VERIFY.LST
                           file.
                         Phase 4 of DBCHKD - Create a command file to get current                          ________________________________________________________
                                file info                                 _________
                          Phase 5 of DBCHKD - Get the current file info                           _____________________________________________
                           Phase 6 of DBCHKD - Lists the anomalies to a file                            _________________________________________________
                            Phase 7 of DBCHKD - Cleanup                             ___________________________
                      and then asks:
                               Do you want work files erased? (Y/N) (def=N)                                _____________________________________________
                                Type a "Y" and a RETURN to erase the files created
                                by DBCHKD except dirnam.CHK.  Any other character
                                (or none) and a return will leave the 'work' files
                                on the system.
                      the system then prints:
                 I hope you found DBCHKD useful - Dave Barrow                  ____________________________________________
                           The comparison file is dirnam.CHK                            _________________________________

                 dirnam.CHK has the name of the directory that was checked and
                 the date and time that the check was done.  Then, for each file
                 that doesn't match the directory the following is printed:

                      Anomaly #n          dirnam directory shows:                                           _______________________
                 (full file spec)              (version)      (hash)                  ___________________________________________________
                                          file on system is:                                           __________________
                 (full file spec)              (version)      (hash)                  ___________________________________________________

              COMMAND SUMMARY:







            DBCHKD - rev. A (03/25/91)



            DBCHKD (Cont'd)                                          Page 3

              ERRORS:
                I can't work without DSK0:VERIFY.LIT[1,4] - Sorry                 _________________________________________________
                      DBCHKD did a LOOKUP and didn't find VERIFY in SYS:.  Since
                      that is the heart of the program DBCHKD aborted.

                  I can't find (directory name)                   _____________________________
                      DBCHKD did a LOOKUP for the (directory name) file in the
                      account that you are logged into and couldn't find it. Check
                      the error message to make sure that the directory name
                      displayed is the same as the directory file.

                 VERIFY didn't work.  Check your directory.                  __________________________________________
                      The usual reason is that one of the logical devices listed in
                      the directory doesn't exist on your system.

              CHARACTERISTICS:
                DSK0:DBCHKD.BAS[7,6]             463-557-444-103
                 DSK0:DBCHKD.RUN[7,6]  91.3A(25)  541-615-103-524

              NOTE:
                This program is NOT part of the original AMOS/L operating
                 system distributed by Alpha Microsystems.  It is a SHAREWARE                                                                     _________
                 program.  You are welcome to try it out - if you like it and think
                 that it is worth $5.00 - Mail $5.00 to the author.

                 The author of this program is:
                                David W. Barrow III
                                Stonewall Computer Center
                                1894 Elm Drive, Town of Cedarburg
                                West Bend, WI 53095
                                Telephone (414) 375-AMOS























             BAS:DBCHKD

         DBCHKD - rev. A (03/25/91)