Archives of the TeradataForum
Message Posted: Wed, 10 Dec 2003 @ 17:43:30 GMT
| Subj: || || Re: Fast Export and file closure |
| From: || || Victor Sokovin |
| ||SYSTEM 'DEL &ExportOutputDir.AllStore_SalesTranItem.Txt';|| |
| ||From the error message what I infer is, it actually tries to delete but couldn't because some other process holds a lock.|| |
| ||If that is the 'export' which opened it, wouldn't it close on .END EXPORT|| |
Just another thought. I see you use an environment variable on your Win client. Can you be sure the system call will know what it
is? Try to echo that value first without deleting the file, just with something like:
.system 'echo &ExportOutputDir > var_value.txt'
If var_value.txt is empty, then that might explain the problem.