Pete,

For whatever reason, UNIX and Linux don't search your current
directory when looking for a executable.

Charles

On Mon, Nov 23, 2009 at 12:45 PM, Pete Helgren <Pete@xxxxxxxxxx> wrote:
Brian,

This may be unrelated, but I ran into this exact same thing with a
Tomcat script.  If I was in the bin folder and ran catalina.sh I would
get a not found error as well.  I'd run ls and see the file so I'd know
it was there.  I had to add the Tomcat bin folder to my path in order to
make it work.  Still scratching my head over it though.  (IBM i 6.1)

Pete


Brian Piotrowski wrote:
Hi All,

I'm not sure if this the proper forum, but I thought I'd start here.

I created a new shell script under QSH to help me diagnose some errors I am getting in my MQ system.  However, when I run the command, I am getting the error "qsh: 001-0014 Command ./testMQjava.sh not found.".

I am running the file in the directory where it is located (via a "./testMQjava.sh" command).  I did a CHMOD 755 on the file, so it has full rights.  I am the owner of the file so I have full permissions to access it.  I also checked the file's permissions, ownership and authorization list with a shell that works and it all matches up.

Any ideas?

Thanks!

/b;

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Brian Piotrowski
Assistant Mgr. - I.T.
Simcoe Parts Service, Inc.
Ph: 705-435-7814 x343
Fx: 705-435-6746
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
http://www.simcoeparts.com


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.