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 :
.IF ERRORCODE=4 THEN .QUIT 0
Return Code 4 means warning messages and can be ignored.
This message tells you that BTEQ has exhausted the .RUN file and will resume the inputs from stdin.
I have seen this happening when bteq scripts are called from within other ones. e.g. main bteq script calling the login script file...