Hi,
I am writing a shell script which will check various conditions and then trigger the master sequence. Now if this script is run in the datastage box through the datastage login, do I still need to mention server, user, password in the DSJob call ? I guess not... But want to confirm it once.
Regards,
Ayan
[** Note - topic changed to be more meaningful - Andy]
Options on starting a job through a script
Moderators: chulett, rschirm, roy
Yes, you should always include the credentials needed IMHO. Sure, there may be times or installs where it "works" without them but I think it's a bad practice to not "mention" them, doing so makes sure you have full control over all aspects of the process. And once you move up to the 8.x world, as far as I know the whole "guess I don't really need to mention them" part goes out the window.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Premium Member
- Posts: 892
- Joined: Thu Oct 16, 2003 5:18 am
IP does work. I disagree with Craig. If the script is run from the DataStage server then using the user and password is not a good idea. It shows up in process list like when you use the ps -ef command. Most of the time it is not visible because there are so many other parameters in front of it but still not a good idea to broadcast any password. The -server option is not needed on the DataStage server.
Mamu Kim