#include
by DoctorHouse - C/C++ - 2008-05-11 12:01:22 阅读(1757) 回复(3)
unexpected eof encountered in BCP data-file. 偶把一些文本导入到Sybase数据库中的时候,提示这个信息。是为什么啊!大家都来帮忙啊!
搞了我一下午,一直以为是编码或者是分隔符,或者是字段数目与文件不一致。。。 最后的结论是 文件每行都必须要有换行符 :shock: 我的命令 bcp rls..client_ref_temp in c:\client_ref_temp.txt -Snewcredit -Usa -Pxxxx -t "|" -c -Jcp850 是-c 模式
查看mysqllog日志 报/usr/local/mysql/libexec/mysqld: sort aborted 参数设置:sort_buffer_size =524288
各位好: 我在做bcp in操作时系统报unexpected eof encountered in BCP data-file,不知道如何解决,谢谢!
昨天晚上 TAR 的。。。 今天早上就发现。。。。。。。。。 tape blocks tar: write error: unexpected eof # bsdking bsdking: Command not found. :?: :?: :?:
昨天晚上 TAR 的。。。 今天早上就发现。。。。。。。。。 tape blocks tar: write error: unexpected eof # bsdking bsdking: Command not found. :?: :?: :?:
This is a example code for reading the configuration file. You may need to modify the code according to your case. #include stdio.h> #include string.h> #define BUFLEN 100 int main(int argc, char** argv) { file* file = NULL; char buf[BUFLEN]; if ((file = fopen(argv[1], "r")) == NULL) { perror("Fail to open file"); return -1; } while (!feof(file)) ...
请帮忙看下下面的错误,如何修正 #!/usr/bin/ksh ls -l 2300000D.n30.gz.201306191|awk '{split($9,tmparr,"."); print "mv "$9" "tmparr[1]"."tmparr[2]"."tmparr[4]"."tmparr[3] print "gunzip "tmparr[1]"."tmparr[2]"."tmparr[4]"."tmparr[3] }'|sh 错误为: gunzip: 2300000D.n30.201306191.gz: unexpected end of file
本帖最后由 b02213131 于 2010-06-03 11:11 编辑 set SRCPath_FDS=/src/SOURCE_FDS1 # set DESTPath_FDS=~/src/FDS if [ ! -f $DESTPath_FDS ] then mkdir -p $DESTPath_FDS endif `end of file' unexpected 如果改成fi,就是 `fi' unexpected