Well, you can try what Chris suggested... place the following code after each use statement, and then step through the script to see what the errors are.
Code:

? "" + @error +":"+ @serror
gets $


You might also post your revised code.


Edited by Allen (2005-10-12 12:24 AM)