Before/After Sub-routine showing password

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Vivek Vazarkar
Participant
Posts: 30
Joined: Thu Feb 22, 2007 12:39 pm
Location: Mumbai

Before/After Sub-routine showing password

Post by Vivek Vazarkar »

Hi,

I'm calling one script through Before subroutine of the datastage server job. I have passed script name userid & password using environment variable. The issue is, the datastage server job showing password into the datastage log.

Please let me know how we can hide the password.
Thanks & Regards,
Vivek Vazarkar
Mail ID:-vivekvazarkar@indiatimes.com
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

For UNIX there is an "ExecSHSilent" option you'd use rather than "ExecSH". Do you not have an equivalent? If not you could write one that does not log the command line.
-craig

"You can never have too many knives" -- Logan Nine Fingers
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Windoze folks have an equivalent and works well.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Post Reply