To run Teradata QS on a new installation of the Teradata Database (that is, one on which an earlier version of Teradata QS or Teradata DQM has not been installed), run the tqssetup.bteq script. The script creates scheduling tables in the TDWM database that Teradata QS uses to store scheduling information.