|  |  | Archives of the TeradataForumMessage Posted: Wed, 19 Nov 2008 @ 17:13:44 GMT
 
 
  
| Subj: |  | Re: Define the more than one file in Multiload |  |  |  | From: |  | Venkata, Vinay |  
 Hi Dharmawat, Here is the script I'm sending.Please go through it. 
     .BEGIN MLOAD TABLES Employee;
     .LAYOUT Layout1;
     .FIELD    In_EmpNo      * Integer;
     .FIELD    In_EmpName    * Varchar(25);
     .LAYOUT Layout2;
     .FIELD    In_EmpNo      * Char(4);
     .FIELD    In_EmpName    * Char(25);
     .DML LABEL Payroll;
     INSERT INTO Employee VALUES (:In_EmpNo, :In_EmpName);
     .IMPORT INFILE NewEmployee1.data
        LAYOUT Layout1
        APPLY Payroll;
     .IMPORT INFILE NewEmployee2.data Format TEXT
        LAYOUT Layout2
        APPLY Payroll;
     .END MLOAD;
 Regards, Vinay 
 
 |  |