Archives of the TeradataForum
Message Posted: Mon, 27 Jan 2003 @ 18:35:35 GMT
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.....
|