Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 27 Jan 2003 @ 18:35:35 GMT


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


Subj:   Re: How setup a e-mail notification from mload on failure of job
 
From:   Sajid Chida

here mload not returning the error code into return_val variable..... mload output displaying on the screen....

following is my script
----------------------

#!d:\Program Files\NCR\TDAT\LPDE\PERL\BIN\MSWIN32-X86\perl -w
print "Running Mload Scripts\n";
my $return_val = `mload -e efile.txt  err123.txt`;
print "mload ret val is : $return_val\n";
-----------------------------------------

Following is the oupput

___________________________________________________________________
Running Mload Scripts
mload ret val is :
     -------------------------------------------------------------
     =
     =          MultiLoad Utility     Release MLOD.07.06.00
     =          Platform WIN32
     =
     -------------------------------------------------------------

_____________________________________


  Or, you can use the system() function:  


  (system("mlod < your_mload_script") == 0) || die "Oops!";  



This is also not working.....



     
  <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