Problems encountered during the execution of a Teradata SQL request are signalled to the application through the Error and Failure parcels (flavors 49 and 9, respectively). Whenever the database receives a response parcel, it is possible that it will be an Error or Failure parcel, even if previous parcels were normal.
If the database does not know whether the request is complete, an Error parcel is returned.
Error parcels and Failure parcels have the same field layout. The distinction lies in the action taken by the database when the problem occurs.