*** Warning: EOF on INPUT stream.

Database
Enthusiast

*** Warning: EOF on INPUT stream.

I am executing bteqs from command prompt.

I am calling a file at the start which contains credentials (by using .RUN FILE command in the bteq).

So whenever I am running the bteqs, its throwing  " *** Warning: EOF on INPUT stream. " warning.

But the control is not coming out of bteq as its still running.

My concerns are,

1.will I have any data loss or truncation in target.

2.What may be the reason behind it?

Thanks In Advance,

Abhi

Tags (2)
2 REPLIES
Teradata Employee

Re: *** Warning: EOF on INPUT stream.

It's strictly an informational message, letting you know that BTEQ has switched back to reading commands from stdin. Just ignore that the text contains the word "warning".

Enthusiast

Re: *** Warning: EOF on INPUT stream.

and if you want to exit bteq by skipping the warning after your run-file executed, please add any of the followings at the end of your run-file script --

.quit

or

.exit

or

.quit errorcode

or

.exit errorcode