Page 1 of 1

dscmdexport domain?

Posted: Wed Jan 24, 2018 7:13 am
by joycerecacho
Hi everybody!

I am having the same issue as this post but I am trying to figure out what is the websphere domain to inform at the command.

Can anyone help me how to discover this parameter value?

I am using the following sintaxe:

C:\IBM\InformationServer\Clients\Classic\dscmdexport.exe /H=<IP Host> /U=<user> /P=<password> <projectName>
<PathFileDsx>\<fileName>.dsx

And getting the error: "Failed to attach to the project".


Thanks in advance!

Joyce

Posted: Wed Jan 24, 2018 9:01 am
by PaulVL
Are you asking us to help you identify your DOMAIN tier host and port to use?

Since you linked to the other post, you will also see the correct parms to use to identify that DOMAIN host (Websphere).

Posted: Wed Jan 24, 2018 10:18 am
by chulett
I linked them back to the original post they'd jumped onto the end of. :wink:

Re: dscmdexport domain?

Posted: Wed Jan 24, 2018 11:24 am
by joycerecacho
Guys,

Do you have any suggestion about backing up all projects in DataStage?
Once I developed a .bat script to that, which worked perfectly in another company, with Windows Server and a later version of Infosphere, but now I am getting error using the same command (dscmdexport) in Linux and 11.5 version.

Any suggestion about schedulling a daily backup of the jobs?

Thanks in advance,

Posted: Wed Jan 24, 2018 12:17 pm
by PaulVL
If it's just the code that you are seeking to back up....

Investigate the istool command to export all objects into a file from the Unix side. It will create an ISX file.

Posted: Wed Jan 24, 2018 2:34 pm
by joycerecacho
Thank you guys.

And to list the project names using the dsjob from the client tier, it should work fine, right?

I am trying and getting the following error:

"Last recorded error message =
java.rmi.RemoteException: Connection timed out: connect; nested exception is:
java.net.ConnectException: Connection timed out: connect

Status code = -1010 DSJE_DOMAINLOGTOFAILED"

Sintax:
dsjob -user <user> -password <password> -server <host:port> -lprojects

(with and without port, both return the same error)

Is there something wrong?

Posted: Wed Jan 24, 2018 2:56 pm
by chulett
Seems we're back at the beginning - I assume you'll need to specify the "-domain" as well.

Posted: Wed Jan 24, 2018 3:24 pm
by joycerecacho
Guys!

The dscmdexport worked!
Actually it was not necessary the domain, only the host.
Since we are working in a Cloud environment, i just informed the wrong value for host. My fault!
:/

But now using the right host in the dsjob comand to list the projects, the issue below still happens.

Posted: Wed Jan 24, 2018 3:28 pm
by chulett
Which "issue below"? <looks down, sees nothing>

Posted: Sat Jan 27, 2018 4:47 am
by joycerecacho
Sorry, my fault.
I was talking about the dsjob command.

Posted: Sat Jan 27, 2018 9:26 am
by chulett
Still going to suggest you try adding the domain to it...

Posted: Tue Jan 30, 2018 1:13 pm
by joycerecacho
Tried, but failed.
:/