I believe this is discussed in some detail in Teradata SQL Reference Vol6, Chpater 9, on Stored Procedures.
Recent Threads
Attachments
Library
Quick Reference
Useful Links
Rules of Conduct
FAQs
Join the Forum
Archives
Sample Index
2003 Indexes