SQFILE
unlink(SQFILE);
ret = link(SQTMP, SQFILE);
if (access(SQFILE, 0) != 0)
if ((fp0 = fopen(SQFILE, "r")) == NULL)