CHETAB

Use

CHETAB ( <table> , <command interface> ).

CHETAB ( <table> , <command interface> , <target system> ).

The CHETAB command compares field values in a database table with values that you specify in the command interface (the command interface has the same structure as the table). You can use it to check:

  • Database updates after transactions
  • Whether a particular table entry exists
  • Customizing table entries

You specify the values of the fields in the command interface. You are not restricted to using the key fields. You do not have to specify the complete key. However, you should not leave a key field empty: enter an asterisk in each key field for which you do not assign a value.

If no record that satisfies the search criteria is found, an error message is entered in the log.

If one or more records are found, the check is entered in the log as successful.

You can specify which system the database table is in. If you specify a target system, the test script or the test configuration must have an appropriate system data container.

Procedure

  1. In the command editor, enter CHETAB ( <table> , <command interface> ).
  2. Double-click <command interface>.

    The command interface appears in the structure editor.

  3. In the structure editor, enter the values that you want to check. Make sure that each of the key fields is filled with a value, parameter, or an asterisk.