Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 01 Apr 2003 @ 22:05:24 GMT


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


Subj:   Passing filename as variable in MLOAD script
 
From:   Mayur Parikh

In DOS batch file I want to execute following command

for %%i in (*.log) do mload

In mloadstuff.mld I want to use filename stored in %%i e.g.

.accept fname from env var ????????;

.IMPORT INFILE &fname

How I can transfer contents of %%i to fname in the script? Do I need to set any variable in the script?? And if yes how can I set it up?

THANX

Mayur



     
  <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: 15 Jun 2023