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 Qshell command line, specify the information above.

- or -

  1. In a Lawson Interface Desktop (LID) session, use Form Transfer (F8).

  2. On Form Transfer, specify chkrec in the Form ID field. Click the OK button or press Enter.

  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.