DataStage 8.0 dsjob command error
Moderators: chulett, rschirm, roy
DataStage 8.0 dsjob command error
I'm trying to get a dsjob command line executed for starting a DataStage job in 8.0
This command works....
C:\IBM\InformationServer\Server\DSEngine\bin\dsjob -server DWAPP02 -user userid -password password -run DWProd lkpbldDMDATE
This command does not work...
C:\IBM\InformationServer\Server\DSEngine\bin\dsjob -file d:\apps\signon.file DWAPP02 -run DWProd lkpbldDMDATE
And inside the signon.file I have...
DWAPP02,userid,password
What would be the difference between these two commands that causes the second command to return "Failure to locate information for server"?
This command works....
C:\IBM\InformationServer\Server\DSEngine\bin\dsjob -server DWAPP02 -user userid -password password -run DWProd lkpbldDMDATE
This command does not work...
C:\IBM\InformationServer\Server\DSEngine\bin\dsjob -file d:\apps\signon.file DWAPP02 -run DWProd lkpbldDMDATE
And inside the signon.file I have...
DWAPP02,userid,password
What would be the difference between these two commands that causes the second command to return "Failure to locate information for server"?
Don't you still need the "-mode NORMAL"?
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Which particular Windows platform? This might be one of those things that Windows XP does not support (though the fact that it worked pre version 8 is a bit of a poser). But version 8 is a radically different beast in any case.
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.
Thanks Len, I think that might have gotten me further.
Now I'm getting this error....
I know I've got the userid/password correct, and I'm assuming I have the engine and project name correct because I can get a version of this command to work (see original post) using the same engine and project name.
I've also got a support case open with IBM on this so I may give up for now and wait on their feedback. Thanks for the responses so far!
Now I'm getting this error....
Code: Select all
C:\Documents and Settings\dsiisadmin>C:\IBM\InformationServer\Server\DSEngine\bi
n\dsjob -file d:\apps\signon.file NONE DWAPP02 -run DWProd lkpbldDMDATE
ERROR: Failed to open project
Status code = -1010 DSJE_DOMAINLOGTOFAILED
I've also got a support case open with IBM on this so I may give up for now and wait on their feedback. Thanks for the responses so far!
Replacing NONE with my actual domain DWAPP02:9080 makes this command work!
Also had to make sure my signon.file contained...
DWAPP02:9080,DWAPP02,userid,password
Code: Select all
C:\Documents and Settings\dsiisadmin>C:\IBM\InformationServer\Server\DSEngine\bi
n\dsjob -file d:\apps\signon.file DWAPP02:9080 DWAPP02 -run DWProd lkpbldDMDATE
DWAPP02:9080,DWAPP02,userid,password
Yes, thanks for the resolution, on AIX 8.1 you use a similar method, with a comma separated config file. I had the added joy of setting a project defined parameter.
$ dsjob -file myfile.pas server:9080 server -run -param '$stageusr=paramuser' Project Jobname
$ cat myfile.pas
server:9080,server,user,password
$ dsjob -file myfile.pas server:9080 server -run -param '$stageusr=paramuser' Project Jobname
$ cat myfile.pas
server:9080,server,user,password
3NF: Every non-key attribute must provide a fact about the key, the whole key, and nothing but the key. So help me Codd.
I'm going to add an additional note to this, even though its resolved...
I've just found out that the case of the domain / servername must match the case returned by the "hostname" command.
For example:
$ hostname
MyServer
$
Means that you'd better have
MyServer:9080,MyServer,username, password
in the file. MYSERVER and myserver won't work!
I've just found out that the case of the domain / servername must match the case returned by the "hostname" command.
For example:
$ hostname
MyServer
$
Means that you'd better have
MyServer:9080,MyServer,username, password
in the file. MYSERVER and myserver won't work!
Last edited by asorrell on Tue Nov 26, 2013 3:27 pm, edited 1 time in total.
Last edited by dsnovice on Tue Aug 30, 2011 1:57 pm, edited 1 time in total.