dsjob run without visible password

Archive of postings to DataStageUsers@Oliver.com. This forum intended only as a reference and cannot be posted to.

Moderators: chulett, rschirm

Locked
admin
Posts: 8720
Joined: Sun Jan 12, 2003 11:26 pm

dsjob run without visible password

Post by admin »

Hi,

we want to run a datastage job without giving a password from the sceduling
tool, maybe this is possible because of userrights in unix or something like
that. Does anyone have any experience with using dsjob in this kind of way?

Thanks,

Wim van Dommelen.


****************************DISCLAIMER***********************************
Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking aan en gebruik door anderen is niet toegestaan. Fortis sluit iedere aansprakelijkheid uit die voortvloeit uit electronische verzending.

This e-mail is intended exclusively for the addressee(s), and may not be
passed on to, or made available for use by any person other than the
addressee(s). Fortis rules out any and every liability resulting from
any electronic transmission.
*******************************************************************************
admin
Posts: 8720
Joined: Sun Jan 12, 2003 11:26 pm

Post by admin »

You have some options. If your scheduling tool can logon to your DataStage
server as the user that needs to run the jobs, you *may* be able to omit the
host/user/password parameters... I dont recall it working for me under
Tru64, but using HP/UX at my recent job it doesnt seem to be required.
Pretty simple to test. Or check the documentation for the "-file" option
for dsjob, this tells it to read the connection information from a text file
so the scheduler doesnt need to know it.

Simplify things and wrap "dsjob" in a script that hides most of the
complexity of calling dsjob instead of calling it directly.

-craig

-----Original Message-----
From: Dommelen van W. (Wim) [mailto:Wim.van.Dommelen@NL.Fortis.com]
Sent: Monday, September 29, 2003 2:32 AM
To: datastage-users@oliver.com
Subject: dsjob run without visible password


Hi,

we want to run a datastage job without giving a password from the sceduling
tool, maybe this is possible because of userrights in unix or something like
that. Does anyone have any experience with using dsjob in this kind of way?

Thanks,

Wim van Dommelen.
admin
Posts: 8720
Joined: Sun Jan 12, 2003 11:26 pm

Post by admin »

One possibility is to use environment variables. For example:
dsjob -host $HOSTNAME -user $USER -password $PWD -run $PROJECT $JOBNAME

----- Original Message -----
From: "Dommelen van W. (Wim)"
Date: Mon, 29 Sep 2003 10:32:05 +0200
To: "datastage-users@oliver.com"
Subject: dsjob run without visible password

> Hi,
>
> we want to run a datastage job without giving a password from the sceduling
> tool, maybe this is possible because of userrights in unix or something like
> that. Does anyone have any experience with using dsjob in this kind of way?
>
> Thanks,
>
> Wim van Dommelen.
>
>
> ****************************DISCLAIMER***********************************
> Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking aan en gebruik door anderen is niet toegestaan. Fortis sluit iedere aansprakelijkheid uit die voortvloeit uit electronische verzending.
>
> This e-mail is intended exclusively for the addressee(s), and may not be
> passed on to, or made available for use by any person other than the
> addressee(s). Fortis rules out any and every liability resulting from
> any electronic transmission.
> *******************************************************************************
>
Locked