0 - 2 of 2 tags for error code

Hi i have written a script in bteq .
The queries execute fine but at the end the scripts exits with below error.
*** Warning: EOF on INPUT stream.|
*** BTEQ exiting due to EOF on stdin.|
*** Exiting BTEQ...|
*** RC (return code) = 4 |
How do I resolve this error.I have also tried adding :


I'm currently writing a query including an inner join, however when I run it Teradata is throwing back error code 3785 'expected ANY or ALL is missing.'

This error code however is not anything my colleagues or I have experienced before and the help function/google are not being very helpful!

My syntax is:


TRIM (prodvm.customer_letter.Trading_Code||prodvm.customer_letter.Account_Number) AS Customer_Number,