Teradata recommends testing scripts outside of the database on sample data before installing them to prevent errors.
If there is a a script error, the script aborts and error information is written to the script log on each node at /var/opt/teradata/tdtemp/uiflib/scriptlog.