Hi all,
I'm actually running a job that requires a txt file (this file is in a diferent server), so I'm using a FTP in the UNIX shell
I call the shell with something like this:
Argget.sh #Archivo# #Usu# #Pass#
The shell works fine, it transfers my file and all is working ok.
THE ISSUE IS: If I double click the job I get the "last run" parameters I used, and one of these is the password I used in the FTP.
QUESTION: Is there a way to "mask" this with "*"??
(I can't put the login/passwd in hardcode, because the job can be run by different users)
Greetings,
Mask Passwords with ** a field?
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Write an after-job subroutine that:
- determines the job number of DSJ.ME
opens that job's log (hashed) file
finds the current "job started" event using DSGetNewestLogId()
reads and updates that log event (replacing password parameter values with asterisks) and writes it back to the log
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: