you might have an easier go of it if you use SQLCODE which is the Teradata error code.
Regards,
Michael Larkins Certified Teradata Master Certified Teradata SQL Instructor
Recent Threads
Attachments
Library
Quick Reference
Useful Links
Rules of Conduct
FAQs
Join the Forum
Archives
Sample Index
2007 Indexes