|
|
Archives of the TeradataForum
Message Posted: Tue, 29 Jul 2008 @ 12:38:13 GMT
Subj: | | Re: How to hide passwoed for Mload script |
|
From: | | Borkar, Sadashiv |
Hi,
You can put the logon command in a file and reference that file in mload script using ".run" mload command. Below is sample of the same:
------------------------------------------
.logtable table01_mld_log;
.run file "C:\Sadashiv\mload\login_details.txt";
.begin mload tables table01;
.layout table01_layout;
.field col1 1 varchar(10);
.field col2 * varchar(20);
............
............
............
.end mload;
.logoff;
------------------------------------------
"C:\Sadashiv\mload\login_details.txt" has following command:
.logon tdpid/uname,passwd;
Regards,
Sadashiv Borkar
| |