Hi All,
I am working on DataStage 8.0 Server job.
I am trying to run my DS job using UNIX script.
the command which I am using to run the job is -
dsjob -server dsserver -user dsusername -password dspassword ProjectName JobName.
Script si sthrwing error as "syntax error".
When I run the script simply without user name password credential just as
ProjectName JobName
It is running fine. My script is residing on DataStage server where the DS project is.
Please suggest me on that.
I need to pass the user name and password credential to run the job.
Thanks
Santosh
Run DataStage job thru UNIX Script
Moderators: chulett, rschirm, roy
Re: Run DataStage job thru UNIX Script
Hi Santosh,
I think u should use the logon clause along with the dsjob command.
"DataStage CLI connects to the DataStage server engine
on the local system using the user name and password of the user
invoking the command. You can specify a different server, user name,
or password using the logon clause, which is equivalent to the API
DSSetServerParams function"
Refer to manuals for more details.
Let me know if this helps.
I think u should use the logon clause along with the dsjob command.
"DataStage CLI connects to the DataStage server engine
on the local system using the user name and password of the user
invoking the command. You can specify a different server, user name,
or password using the logon clause, which is equivalent to the API
DSSetServerParams function"
Refer to manuals for more details.
Let me know if this helps.
Re: Run DataStage job thru UNIX Script
Hi could you please send me the command ?Pagadrai wrote:Hi Santosh,
I think u should use the logon clause along with the dsjob command.
"DataStage CLI connects to the DataStage server engine
on the local system using the user name and password of the user
invoking the command. You can specify a different server, user name,
or password using the logon clause, which is equivalent to the API
DSSetServerParams function"
Refer to manuals for more details.
Let me know if this helps.