chkrec - Check Validity of Database Records

chkrec [-a] [-n] dataarea [filename ...]

The Check Database Records utility (chkrec) identifies bad data. chkrec scans the entire data area or any specified files. You can specify to continue checking after finding the first bad record in a file.

chkrec produces the same output as described for online record checking.

Program Option Description
-a Check all database file types; only Lawson database files are checked by default.
-n Go to next file after the first bad record.
-V Print the version of this utility.

At the command line, specify the information above.

- or -

  1. From the Database Administration menu, choose Database Server Tools.

  2. From the Database Server Tools menu, choose Check Database Records.

  3. On the Check Database Records form, specify or select the following data.

    Field Description
    Program Options See above.
    Data Area Data area you want to check records for.
    Database Files

    Files to check.

    Leave blank to check all files in the data area.

    I/O Options Optional. Display the output or redirect it to a file.
  4. Press Enter.