Running DSJOB from the command line

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

Running DSJOB from the command line

Post by admin »

Weve been able to run the CLI successfully without passing the login clause as it picks up the user invoking the command.

However when we redirect standard input, standard output and standard error as below, it cannot access the current user. It returns an 80011 error - incorrect system name, user or password.

eg. running this inside a called function from a UNIX Shell script..

dsjob -run -wait >> $LOG 2>&1


Any clues ?


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

Post by admin »

You should ALWAYS use the -server -userid -password
command line options.
This is known to tech support and that will be their recommendations. Based on how clients can setup security, these options may be unnecessary, but your conditions must REQUIRE these options. Your problem will go away.

Good luck!
-Ken

--- Peter Oates wrote:
> Weve been able to run the CLI successfully without
> passing the login clause as it picks up the user
> invoking the command.
>
> However when we redirect standard input, standard
> output and standard error as below, it cannot access
> the current user. It returns an 80011 error -
> incorrect system name, user or password.
>
> eg. running this inside a called function from a
> UNIX Shell script..
>
> dsjob -run -wait >>
> $LOG 2>&1
>
>
> Any clues ?
>
>
> regards,
> Peter
>


__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals. http://personals.yahoo.com
Locked