Page 1 of 1

Istools script Issue

Posted: Tue Mar 16, 2010 2:52 pm
by srireddypunuru
Team.

I am trying to run the below script but i get the below issues. Need some thoughts on this please !

"./istool export -domain bhpiis001 -u srpunuru -p ibm123 -ar /home/srpunuru/test.isx -ds '-base="bhx001.bhdev1.ibm.com/BHDEVCN" Jobs/Abhinav/*.*'
Beginning Export
Export failed: Project not found: BHDEVCN

But i see the project is there but not sure why i get this message.

Thanks
Srikanth Punuru

Posted: Tue Mar 16, 2010 3:15 pm
by eostic
One possibility is the port number. I always fully quality the domain (-dom) with the portnumber, such as mydomain:9080

Ernie

Posted: Tue Mar 16, 2010 7:41 pm
by ray.wurlod
Try specifying the -server option explicitly.

Istool export command doesnt work..

Posted: Thu Mar 18, 2010 1:47 pm
by srireddypunuru
./istool export -domain bhpiis001.pok.ibm.com:9080 -u srpunuru -p Zaq1@wsx -archive /home/srpunuru/test.isx -datastage ' -base="bhpiis001.pok.ibm.com:9080/BHDEVCN/Jobs/Abhinav/" '
Beginning Export
Elapsed time: 00:00:00
Exported 0 assets


I Tried to export the using istools and doesnt do anything need help here in this case !

Thanks in Advance..

Posted: Thu Mar 18, 2010 2:23 pm
by eostic
I haven't been using it (istool) recently with DataStage Jobs (.dsx's have been fine for my current requirements), but like the other assets (I've been using it mostly with the new common metadata support for things like Shared Tables), I believe that there is an asset type that you have to apply in order to do things like wildcarding on your selection. Take a close look at the doc...there are a large list of asset types (for instance, one that I remember is that *.pjb is for all parallel jobs, etc.).

Ernie

Istool export failed Usergroup..

Posted: Thu Mar 18, 2010 2:50 pm
by srireddypunuru
I did change that now the error i get is as follows.

ISTOOL Script -- /opt/IBM/InformationServer/Clients/istools/cli>istool export -domain bhpiis001.pok.ibm.com:9080 -v -u srpunuru -p Zaq1@wsx -ar

/home/srpunuru/R1A_DEV_test.isx -ds '-incdep -base="bhpiis001.pok.ibm.com:9080/BHDEVCN" Jobs/Abhinav/*.pjb'

Output of the Script:

Beginning Export

[1/1] BHPIIS001.POK.IBM.COM:9080/BHDEVCN/Jobs/Abhinav/temp.pjb failed

Unable to log in to DataStage Service: Failed to connect to host "BHPIIS001.POK.IBM.COM" as user "dsuser".

The host name is not valid, or the host is not responding.
Elapsed time: 00:02:08
Exported 0 assets

I did check the usergroup of my user it is 'dsuser'. Not sure what is happeing need some help here.

Thanks
Srikanth Punuru

Posted: Thu Mar 18, 2010 3:56 pm
by ray.wurlod
The host name is not valid, or the host is not responding.

Resolve this problem first.