./istool: not found

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
ankursaxena.2003
Participant
Posts: 96
Joined: Mon May 14, 2012 1:30 pm

./istool: not found

Post by ankursaxena.2003 »

Hi,

When I am trying to run istool utility from unix box to get an extract. I am getting following error:

Code: Select all

./istool:  not found
I am trying to run the following code.

Code: Select all

cd /app/IBM/InformationServer/Clients/istools/cli

./istool export -domain serv1:9080 -username usr1 -password pass1 -archive path/TEMP1.isx -datastage '-includeexecutable -base="serv1/prj1/" Jobs/*.*'
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Prove that istool exists in the cli directory. UNIX seems to think that it does not.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ankursaxena.2003
Participant
Posts: 96
Joined: Mon May 14, 2012 1:30 pm

Post by ankursaxena.2003 »

Is there anything I can do or just open a ticket with IBM?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Code: Select all

cd /app/IBM/InformationServer/Clients/istools/cli
ls -l istool
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ankursaxena.2003
Participant
Posts: 96
Joined: Mon May 14, 2012 1:30 pm

Post by ankursaxena.2003 »

What do you mean?
I didn't understand your reply.

When I go to that folder, there is istool file out there. And another file called setupEnv.sh.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

He wants you to show us. Do a listing of the files in that directory and post the results here. We want to see what you are seeing.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ankursaxena.2003
Participant
Posts: 96
Joined: Mon May 14, 2012 1:30 pm

Post by ankursaxena.2003 »

Ok.
There is only one more file out there in that directory. It is setupEnv.sh.
And rest all are some directories.

-rwxr-xr-x 1 root root 108 Feb 16 2011 setupEnv.sh
-rwxr-xr-x 1 root root 560 Feb 16 2011 istool
drwxr-xr-x 5 root root 5 Jun 30 2011 features
drwxr-xr-x 2 root root 3 Jun 30 2011 links
drwxr-xr-x 2 root root 3 Jun 30 2011 configuration
drwxr-xr-x 5 root root 39 Jun 30 2011 plugins
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Then it would seem your "cd" is failing. If you were actually in that directory and issuing the command you've shown us, there's no reason for it to throw the error you posted that I can see. Does it work if you issue it manually and not "in code"?
-craig

"You can never have too many knives" -- Logan Nine Fingers
ankursaxena.2003
Participant
Posts: 96
Joined: Mon May 14, 2012 1:30 pm

Post by ankursaxena.2003 »

Craig,

I am trying to run it from that folder.
It seems that it is looking for Korn Shell.

Code: Select all

istool export -domain serv1:9080 -username usr1 -password pass1 -archive path/TEMP1.isx -datastage '-includeexecutable -base="serv1/prj1/" Jobs/*.*'
ksh: istool:  not found
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Well... in this example you left off the "./" from the front, that would cause it to fail on most systems as the current directory (represented by the ".") is not typically in the PATH. Nor is your "cli" directory... or it would have worked.

Lastly you are in the Korn shell, that's not what it is looking for.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ankursaxena.2003
Participant
Posts: 96
Joined: Mon May 14, 2012 1:30 pm

Post by ankursaxena.2003 »

Craig,

I am in cli directory and it doesn't matter if I put './' in front.
I still get the same error. Both the commands are giving me the same error.

ksh: ./istool: not found

I am going to open a PMR with IBM and see what they have to say.
I don't know if I need to install something extra to make this istool work on unix server.
When I run this command on IBM Information Server Command Line Interface, it works fine.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Let us know what they say. You would be getting a different message if you needed "something extra" installed, this is a fundamental O/S command line message saying it can't find what you want to run.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ankursaxena.2003
Participant
Posts: 96
Joined: Mon May 14, 2012 1:30 pm

Post by ankursaxena.2003 »

Sure Craig.
I have opened a PMR. And in the initial talk with the IBM lady she was saying that I might be missing some path in Environment File.

I will keep you guys posted on this.....
ankursaxena.2003
Participant
Posts: 96
Joined: Mon May 14, 2012 1:30 pm

Post by ankursaxena.2003 »

The IBM lady said that the istool is a Python Script in AIX System and Perl Script in Unix Server.
And we don't have Python installed on our AIX Server.

She is recommending to install Python.

So right now I am going to ask my Unix Admin to install Python on the AIX Server.
I will keep you guys posted on it.
Post Reply