Page 1 of 1

dsjob on v 8.5

Posted: Thu Sep 01, 2011 9:48 am
by dxwwq557
hi all,

1.I face a miracle (actully a trouble) I use the dsjob to show the projects. when I use the command on v8.5 it always send a error code 81005or 80011 But when I try it on v7.5 it runs ok and I want to use dsjob on v8.5 and the statement as below

Code: Select all

dsjob  -user dsadm -password dsadm -server ds_server_name -lprojects
2.and another question: this seems a stupid question, my project name format as below
XXXX/xxxx

Maybe this caseed the problem 1.

So need ur help with this problem

regards

Posted: Thu Sep 01, 2011 9:49 am
by dxwwq557
and I also try dsadmin command but it still not work~

Posted: Thu Sep 01, 2011 10:20 am
by chulett
For 8.x you need to add the -domain option to the command from what I recall.

Posted: Thu Sep 01, 2011 10:26 am
by arvind_ds
Check the documentation for correct syntax.Aditionally if you logon to your unix server as dsadm user, you need not to specify user name and password for dsadm while running the dsjob

Posted: Thu Sep 01, 2011 10:45 am
by pandeesh

Code: Select all

dsjob -server servername:portnumber  -user dsadm -password dsadmpassword  -lprojects
This is what i have tried and works for me.

Posted: Thu Sep 01, 2011 12:44 pm
by dxwwq557
I have tested in my desktop , and I also checked the document, the syntax as below:

dsjob [-file <file> <domain> <server>| -domain <domain> -user <user> -password <password> -server <server>] primaryArgument otherArgument.

this is the syndax for v8.5,but v7.5 is different form this, and also I want to know what the domain means.

And see the login view in ds v8.5, the first blank is ds service tier,ie. dst02app03.dt.com:9080, I thinks this is server name, the project name is DST02APP03/mdds. some other projects are such as DST02APP02/dstage,DST02APP01/dstage.

if I use the command as below,

Code: Select all

dsjob -domain DST02TAPP03 -user dsadm -password dsadm -server dst02app03.dt.com:9080 -lprojects
it will return the project which contain a prefix DST02TAPP03, but I want to get all the projects. so I cannot get any idea.

Posted: Mon Oct 03, 2011 3:56 pm
by jatinrheen
You can specify -domain NONE in case you want to specify -user and -password option.

If you are using Websphere registry for UserIDs you required domain option .

In case you are using internal registry for datastage ; you dont required domain option.

Regards
Jatinder