Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Wed, 10 Dec 2003 @ 17:43:30 GMT

  <Prev Next>   <<First <Prev Next> Last>>  

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.


  <Prev Next>   <<First <Prev Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 23 Jun 2019